Debugger bombs on second Debugstop

BlitzMax Forums/BlitzMax Programming/Debugger bombs on second Debugstop

Grey Alien(Posted 2007) [#1]
Is anyone else experiencing a problem with debugstop? At the moment if I have it in my code and when the code stops there I hit F5 so the exe carries on but the second time it stops there it isn't in debug mode any more, the exe just shots down and I'm totally back to the IDE as if I'd clicked the STOP button.

Any ideas where I'm going wrong? Is it pressing f5?

Thanks!


Brucey(Posted 2007) [#2]
a bug with the debugger, perhaps.

Do you happen to have a reproducible code-snippet.


As it happens, I have one debugger fix (awaiting official release) :

in debugger.stdio.bmx
in the DebugDeclValue
before :
	Case Asc("[")
		p=(Byte Ptr Ptr p)[0]
		If Not (Int Ptr (p+20))[0] Return "Null"

after :
	Case Asc("[")
		p=(Byte Ptr Ptr p)[0]
		If Not p Then Return "Null"
		If Not (Int Ptr (p+20))[0] Return "Null"


Fixes a *lot* of issues I've been having while debugging on all three platforms.


Grey Alien(Posted 2007) [#3]
Hey Brucey, neat I'll try it out. Unfortunately the error occurs as part of my whole big project so I can't cut it out - but it's reproducible every time.


Grey Alien(Posted 2007) [#4]
unfortunately that didn't solve it. I made the change, did a build modules then reloaded the IDE, that was correct was it?