Can I set breakpoints in MaxIDE and Step Through
BlitzMax Forums/BlitzMax Programming/Can I set breakpoints in MaxIDE and Step Through
| ||
How do I do this, I cant find any info |
| ||
use debugstop:while not keyhit(KEY_ESCAPE) debugstop wend |
| ||
I prefer debuglog. Bmx will crash on its own... so you don't need the stop... :o) |
| ||
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 ;) |
| ||
Bad thing is, that the default ide does not support "continue" ... strangely, BLide supports it. Definitely a lack with debugstop atm. |
| ||
I think you click on the rocket button to continue in the default IDE. |
| ||
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 ;-) |