TailBite V1.3 for PB4.0X+PB4.10+PB4.20

TailBite specific forum

Moderators: gnozal, ABBKlaus, lexvictory

Henrik
Enthusiast
Enthusiast
Posts: 404
Joined: Sat Apr 26, 2003 5:08 pm
Location: Denmark

Post by Henrik »

Hi ABBKlaus
thats odd i get a' 404 here :?
i try a' different computer, but it's prob. the connection then.

Best Henrik
Henrik
Enthusiast
Enthusiast
Posts: 404
Joined: Sat Apr 26, 2003 5:08 pm
Location: Denmark

Post by Henrik »

@ABBKlaus
Nope no luck here either, but they share connection so.. damn :?

Btw. i can't connect to your addy. http://www.purebasicpower.de/ eithter..

Thanks for checking it anyway, it most be something om my end or somthing :roll:

ABBKlaus could you upload the latest tailbite to www.purearea.net pls.. :) when you - have / get - time, of course. :wink:

Best Henrik.
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

ABBKlaus wrote:I just compiled your test code to an commented asm source, and did not find any of your code !
It's possible that there is another variable that's creating the problem. The library I used it on is several thousands of lines long. I can investigate further when I have the time.
Henrik
Enthusiast
Enthusiast
Posts: 404
Joined: Sat Apr 26, 2003 5:08 pm
Location: Denmark

Post by Henrik »

@ABBKlaus

A friend of mine has just testet the site and he can't connect to it either,
so it must be something between denmark and Germany or TDC.dk (my isp) and your tailbite host. :?

Anyway, it doesnt seem to be anything we can do anything about :( :wink:

Thanks anyway


*Edit*
Another friend was able to download the files, so everything is a'okay her :D

Great work ABBKlaus thank you :)

Best Regards Henrik.
Last edited by Henrik on Sun Jan 06, 2008 10:34 pm, edited 1 time in total.
ABBKlaus
Addict
Addict
Posts: 1143
Joined: Sat Apr 10, 2004 1:20 pm
Location: Germany

Post by ABBKlaus »

@Mistrel,

TailBite generates a logfile in the temp-folder, if you could PM it to me i could investigate a bit further.

Regards Klaus
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

I just realized that Tailbite is not the reason I'm seeing these hints at the bottom of the IDE. It's because I had the original source with the procedure declaration open in another File. The IDE will show a hint for procedures in all open files.

Sorry for the misunderstanding.

I got a "The pipe has ended" at the end of one of Tailbite's error windows. I think this is a bug.

Code: Select all

PBCompiler:  /COMMENTED /DEBUGGER

******************************************

PureBasic 4.10 (Windows - x86)

******************************************

Compiling Project.pb

Loading external libraries...

Starting compilation...

Including source: SourceInclude.pbi

Including source: SourceInclude2.pbi

Including source: SourceInclude3.pbi

Error: Line 2023 - Procedure parameter can't be declared twice: x


The pipe has been ended.
ABBKlaus
Addict
Addict
Posts: 1143
Joined: Sat Apr 10, 2004 1:20 pm
Location: Germany

Post by ABBKlaus »

@Mistrel,

seems to me that this is a bug in line 2023 of your source, but i cannot say without seeing it (especially line 2023) :wink:

Regards Klaus
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

There was a bug, yes. I had declared 'x' twice. I thought the "The pipe has ended" line was a bug and should not exist at the end of the error message.
Hurga
Enthusiast
Enthusiast
Posts: 148
Joined: Thu Jul 17, 2003 2:53 pm
Contact:

Post by Hurga »

I didnt worked with Tailbite nearly about a year. So now I loaded the newest version und tried to run it, but I got some error-Msgs.

It cant find polib.exe (the path to PureBasic is given correctly)

Then he cant find the PureBasic.asm file.
(Here I add my own path. c:\PureBasic/Tailbite/LibrarySources)
but it saved the files at: c:\PureBasic/Tailbite/
and then, strangly enough, the msg say, that the file cant be find in
..local settings .... Temp/TBTemp

Is this my mistake or is it a sweet little bug?
ABBKlaus
Addict
Addict
Posts: 1143
Joined: Sat Apr 10, 2004 1:20 pm
Location: Germany

Post by ABBKlaus »

@Hurga,

did you make a clean install of TailBite ? The preferences handling is a bit different as in the old version !
Could you PM me your TailBite.prefs file and the TailBite logfile.
1. Location of prefs : %Appdata%\TailBite\TailBite_XXX.prefs
2. Location of prefs : TailBite-folder\TailBite.prefs
Location of logfile : %temp%\TailBite_Logfile.txt

Regards Klaus
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

Debug commands cause the process to crash if compiled with the debugger off.

Compile this to a Tailbite library and try compiling without the debugger.

Code: Select all

ProcedureDLL MyDivZ(a, b)
  ProcedureReturn a/b
EndProcedure

ProcedureCDLL MyDivZ_DEBUG(a, b)
  If b=0
    TB_DebugError(@"Division by zero!")
  EndIf
EndProcedure
My project keeps getting a linker error if I try to compile without the debugger using my Tailbite commands.

Code: Select all

---------------------------
PureBasic - Linker error
---------------------------
POLINK: error: Unresolved external symbol 'PB_NullString'.

POLINK: fatal error: 1 unresolved external(s).
ABBKlaus
Addict
Addict
Posts: 1143
Joined: Sat Apr 10, 2004 1:20 pm
Location: Germany

Post by ABBKlaus »

Its crashing on the Division by ZERO, not on the _DEBUG command :twisted:

Compile with TailBite as "MyDebugErrorPlugin"

Code: Select all

ProcedureDLL MyDivZ(a, b)
  MessageRequester("MyDivZ","Before division by zero!"+Chr(13)+"The program will crash now without debugger.",0)
  ProcedureReturn a/b
EndProcedure

ProcedureCDLL MyDivZ_DEBUG(a, b)
  If b=0
    TB_DebugError(@"Division by zero!")
  EndIf
EndProcedure
Example code :

Code: Select all

MyDivZ(1, 0)
Mistrel wrote:My project keeps getting a linker error if I try to compile without the debugger using my Tailbite commands.
Without a snippet i can´t do anything to help you :?
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

Its crashing on the Division by ZERO, not on the _DEBUG command Twisted Evil
Well this is embarassing. I should have seen that. :roll:
Without a snippet i can´t do anything to help you Confused
I don't know what's causing this problem and I can't reproduce it outside of my library. It only occurs when I try to compile without the debugger in a source that contains no strings and calls a command from this particular Tailbite library.
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Post by lexvictory »

problem with compiling for subsystems:

when compiling normally, (no threadsafe nor unicode) everything works
but when compiling with for example threadsafe, and the subsystem path automatically changed, it fails with pb saying function name same as external command.

tailbite seems to delete the lib file from pbdir/purelibraries/userlibraries when it compiles
but why does it still delete that file when compiling for subsystems, and not delete the lib in the subsystems directory?

and can the preferences file location be explained?
i know its in app data, but is there a way to make it use a local one (for using more than one pb/tailbite version for example)?
creating a tailbite.prefs in the tailbite directory seems to work, is that what makes it local?
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
ABBKlaus
Addict
Addict
Posts: 1143
Joined: Sat Apr 10, 2004 1:20 pm
Location: Germany

Post by ABBKlaus »

lexvictory wrote:problem with compiling for subsystems:

when compiling normally, (no threadsafe nor unicode) everything works
but when compiling with for example threadsafe, and the subsystem path automatically changed, it fails with pb saying function name same as external command.
It was IceSoft´s idea to change the subsystem folders. You have to move all files from :
UserLibThreadSafe\PureLibraries\*.*
to
UserLibThreadSafe\PureLibraries\UserLibraries\*.*
lexvictory wrote:tailbite seems to delete the lib file from pbdir/purelibraries/userlibraries when it compiles
but why does it still delete that file when compiling for subsystems, and not delete the lib in the subsystems directory?
When you compile for a subsystem TailBite must move the lib to temp-folder, or else you get that error message (same name ...). It´s copied back later (on success).
lexvictory wrote:and can the preferences file location be explained?
i know its in app data, but is there a way to make it use a local one (for using more than one pb/tailbite version for example)?
TailBite determines which version of purebasic is running by it´s registry key. It then runs PBCompiler to check for the version installed and reads the correct TailBite.prefs file from i.e. C:\Dokuments and settings\[USERNAME]\Application Data\TailBite\TailBite_420.prefs .
lexvictory wrote:creating a tailbite.prefs in the tailbite directory seems to work, is that what makes it local?
Yes, thats exactly the way its intented to work for a local installation of TailBite.
Post Reply