So within the IDE, I press F9 to add a breakpoint to the program.
I also make sure debugging is toggled to ON.
I then press F5 to compile and run the program, but it never pauses or stops for me to step through the code, do I need to do something else?
I'm running IDE version 9.040 under Vista x64.
Thats odd - breakpoints should be working fine. Can you try the following code :
LOCAL a%
PRINT "hello",0,0
SHOWSCREEN
KEYWAIT
a%=1
DEBUG a%+"\n"
KEYWAIT
and set the breakpoint on the a% = 1 line.
I've got a quick video of the debugger being used here :
Thanks for your response.
I'm at work at the moment, which is a Windows XP Pro machine, I downloaded the (free) SDK and gave your example a go, and it definitely "breaked" at the a% = 1 line so I now know what to expect.
I'll try the same example at home tonight and see how it behaves, but even in my simplist of programs it has failled to pause execution.
Does anyone else on here with Vista x64 (or any Windows 64 bit) have the same problem?
I've found breakpoints don't work on lines that are blank, just declare vars using LOCAL/GLOBAL, and in other cases.
Putting them on lines where there are function calls or variables are set, etc. always works for me though.
Ah yeah, that could be the issue, thanks, I'll definitely give that a go tonight. :)
Also the very first line is not triggering. Don't ask me why :|
Quote from: Serpent on 2011-Mar-23
I've found breakpoints don't work on lines that are blank, just declare vars using LOCAL/GLOBAL, and in other cases.
Putting them on lines where there are function calls or variables are set, etc. always works for me though.
This was the problem exactly, thanks for that. :good: