Using Debug
Blitz3D Forums/Blitz3D Beginners Area/Using Debug
| ||
I can't seem to find basic information about using the debugger in my B+ documentation - has anyone written a note on the subject? Simple info like - the meaning of the iconbar icons; How to set a breakpoint; how to inspect arrays - they don't appear in the globals window Terry from Tooting |
| ||
The Debug Icons are Pause Continue StepOver StepInto StepOut and Stop If Debug is enabled, clicking Pause stops execution at that point and the other icons become active... Pause Pauses the currently running program. Continue Resumes program execution after pause. StepOver Executes the next program statement and stops. If the next statement is a function call, the entire function is executed before the program is stopped. StepInto Executes the next program statement and stops. If the next statement is a function call, then program execution stops at the first statement of the function. StepOut When used inside a function, this will cause all statements to be executed until the function returns to it's caller. The program will then stop at the statement following the function call. End Terminates program execution and returns you to the editor. ******************************************* I bet you pretty much figured all that yourself, and there may be command line switches to do more sophisticated debugging... Can anyone help with something on command line and debug? |
| ||
How to set a breakpoint: use the Stop command Are there any tricks out there for debugging arrays (both variants -- () and [])? |
| ||
Thanks for the info keyboard and soja about ...debugging arrays (both variants -- () and [])? Now you've lost me - what's a [] array? -- terry from tooting |
| ||
Now you've lost me - what's a [] array? See this thread: Forums/Beginners Area/blitz array |
| ||
Aaaaaah! BlitzArrays! Bisto!!!! Thanks for that terry from tooting |