Page 1 of 1
IDE Debug problem ...
Posted: Mon Aug 24, 2020 11:20 am
by marc_256
Hallo,
I have the CRASH message if I enable the IDE debugger.
See BUG WINDOW forum =
viewtopic.php?f=4&t=75865
So, I use the "EnableDebugger" syntax in my source program.
But when I want to use the "Debug ... ", it don't works anymore.
I'm tyered to look for the IDE DEBUG,
is there an other solution to work with DEBUG ...
and visualize a variable ?
thanks,
Marc
Re: IDE Debug problem ...
Posted: Mon Aug 24, 2020 12:12 pm
by infratec
MessageRequester() or open an own window with an editorgadget and use posevent to add a line with your debug stuff.
But in my opinion that's the wrong way.
I think you have a memory related bug in your code.
Have you already tried the PuriFier with Granularity 1, 1, 1, 1

Re: IDE Debug problem ...
Posted: Mon Aug 24, 2020 2:01 pm
by spikey
1) That's not the way that Enable/DisableDebugger are intended to work.
They're intended to tell the debugger to ignore sections of code and will only work when the debugger is enabled with the IDE option (or the standalone debugger). Something like this:
Code: Select all
; Call a procedure which is complex and tedious to step through and we know already works.
DisableDebugger
result = SomethingComplicated()
; Re-enable the debugger for a problematic procedure .
EnableDebugger
result = TroublesomeProcedure()
2) Rescator wrote a macro to output messages to the system debug api - ostensibly for DLL debugging but you might find it useful if you really can't get the debugger to work properly.
See
viewtopic.php?f=12&t=14231
You can download a console to receive the messages at
https://docs.microsoft.com/en-gb/sysint ... /debugview