Can I set breakpoints in MaxIDE and Step Through

BlitzMax Forums/BlitzMax Programming/Can I set breakpoints in MaxIDE and Step Through

Rob Pearmain(Posted 2006) [#1]
How do I do this, I cant find any info


Diablo(Posted 2006) [#2]
use debugstop:
while not keyhit(KEY_ESCAPE)
debugstop
wend



Grisu(Posted 2006) [#3]
I prefer debuglog.

Bmx will crash on its own... so you don't need the stop... :o)


Diablo(Posted 2006) [#4]
use debuglog to send messages to the debug stream, by all means. But if you want to pause a program then use debugstop.

Buttons at the top (next to build) allow you to 'step in', 'step out' and 'step through' your code.

I use debugstop when I want to now the value of custom types just before you get a message like 'array index out of bounds' or whatever.

Bmx will crash on its own... so you don't need the stop... :o)

This is also true ;)


Dreamora(Posted 2006) [#5]
Bad thing is, that the default ide does not support "continue" ... strangely, BLide supports it.
Definitely a lack with debugstop atm.


TeaVirus(Posted 2006) [#6]
I think you click on the rocket button to continue in the default IDE.


Brucey(Posted 2006) [#7]
Yep, the "Build and Run" toolbar icon also acts as a "Continue" when you are stopped in debug mode.

One of those other hidden features of Max ;-)