Posted: Sun Mar 09, 2003 4:54 am
Restored from previous forum. Originally posted by Fangbeast.
This is so strange...I was running and testing my code with the debugger turned off and everything was running great. Then I turn the debugger on and it stops everything, complaining that the StatusBar object hasn't been initialised. But it has!!! And it is working fine, everything that is supposed to be printed to it is working.
Even worse, all statusbar objects all through the program are being halted in this fashion as I comment out one after the other to try to find if one or another could be at fault.
The whole program is far too large to post here but I wondered if anyone else has had this problem?
We are Dyslexic of Borg, prepare to have your ass laminated!
This is so strange...I was running and testing my code with the debugger turned off and everything was running great. Then I turn the debugger on and it stops everything, complaining that the StatusBar object hasn't been initialised. But it has!!! And it is working fine, everything that is supposed to be printed to it is working.
Even worse, all statusbar objects all through the program are being halted in this fashion as I comment out one after the other to try to find if one or another could be at fault.
Code: Select all
If Window_crctool() ; Open the window (in a procedure)
Gosub writeresources ; write packed resources
recent("") ; Initialise the RecentFiles list
makemenu() ; And generate a menu for it
setDate() ; Set the current date for the user
StatusBarText(#Gadget_crctool_statusbar, 0, " Current Directory: " + curdir.s, 0)
(rest of code)
We are Dyslexic of Borg, prepare to have your ass laminated!