Wizzup?
2011-03-12 07:57:22
You can download Simba Debug buils from here: http://simba.villavu.com/bin/Windows/x86/Debug/
Alternatively you can make Simba's auto updater fetch new debug versions, that setup is similar to here: http://villavu.com/forum/showthread.php?t=58189 but instead of Stable or Unstable you put Debug. If the procedure is not clear then please let me know. It's possible one of the settings in the thread does not yet exist, you can safely add them.
You'll have to run Simba from cmd.exe to actually make use of these debug symbols. Hopefully this will help debugging some issues.
Use like this on Windows:
From: Coh3n
Hit the Windows Key + R. The Run windows should appear.
Type in cmd, hit enter.
The command prompt should come up.
Type in cd "Simba.exe path here" (for me, it's cd c:/simba) and hit enter.
Type in simba.exe and hit enter.
Simba should now pop up and you'll see all the debug stuff in the command prompt.
For example, an exception thrown (manually added, just to demonstrate):
Example output below is on Linux. (Doesn't really matter, just don't type ./Simba on Windows)
$ ./Simba
Setting LastConfig/MainForm/RecentFiles/File10 to
Hiding tray.
No valid command line args are passed
Setting Extensions/ExtensionCount to 10
Adding Plugin Path: /home/merlijn/Programs/simba/Plugins/
Adding Plugin Path: /home/merlijn/Programs/simba/Plugins/
Loading: BigChars
Loading: SmallChars
Loading: XPChars
Loading: CharsNPC
Loading: CharsTrade
Loading: LoginChars
Loading: FriendChars
Loading: StatChars
Loading: UpChars
BigChars, SmallChars, XPChars, CharsNPC, CharsTrade, LoginChars, FriendChars, StatChars, UpChars,
formWriteln: Loaded fonts: BigChars, SmallChars, XPChars, CharsNPC, CharsTrade, LoginChars, FriendChars, StatChars, UpChars
Allowing API/SysCalls.
TApplication.HandleException wat
Stack trace:
$0000000000490D63 line 2671 of simbaunit.pas
$000000000061AE6F line 2288 of include/control.inc
$00000000006A47FD line 764 of include/toolbutton.inc
$00000000006A2AFD line 136 of include/toolbutton.inc
$000000000061A15F line 1741 of include/control.inc
$000000000061AC0F line 2190 of include/control.inc
$000000000045ADAD
$0000000000618BA3 line 1083 of include/control.inc
$000000000060CD70 line 4605 of include/wincontrol.inc
$000000000060E32C line 5206 of include/wincontrol.inc
$000000000071DA42 line 111 of lclmessageglue.pas
$00000000006EA3FB line 3541 of gtk2/gtk2proc.inc
$00000000006F7F02 line 1896 of gtk2/gtk2callback.inc
$00000000006F801D line 1953 of gtk2/gtk2callback.inc
$00007FEF36CC7848
WARNING: TLCLComponent.Destroy with LCLRefCount>0. Hint: Maybe the component is processing an event?
Stripped binary. (All Simba releases are stripped):
$ ./Simba
Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: cannot open shared object file: No such file or directory
Setting LastConfig/MainForm/RecentFiles/File10 to
Hiding tray.
No valid command line args are passed
Setting Extensions/ExtensionCount to 10
Adding Plugin Path: /home/merlijn/Programs/simba/Plugins/
Adding Plugin Path: /home/merlijn/Programs/simba/Plugins/
Loading: BigChars
Loading: SmallChars
Loading: XPChars
Loading: CharsNPC
Loading: CharsTrade
Loading: LoginChars
Loading: FriendChars
Loading: StatChars
Loading: UpChars
BigChars, SmallChars, XPChars, CharsNPC, CharsTrade, LoginChars, FriendChars, StatChars, UpChars,
formWriteln: Loaded fonts: BigChars, SmallChars, XPChars, CharsNPC, CharsTrade, LoginChars, FriendChars, StatChars, UpChars
Allowing API/SysCalls.
TApplication.HandleException wat
Stack trace:
$0000000000490D63
$000000000061AE6F
$00000000006A47FD
$00000000006A2AFD
$000000000061A15F
$000000000061AC0F
$000000000045ADAD
$0000000000618BA3
$000000000060CD70
$000000000060E32C
$000000000071DA42
$00000000006EA3FB
$00000000006F7F02
$00000000006F801D
$00007F18E0C1D848
WARNING: TLCLComponent.Destroy with LCLRefCount>0. Hint: Maybe the component is processing an event?
As you can see, the first paste provides useful information whereas the second one does not. I've set up a source for the auto updater to use the debug build.








