IDE Debug problem ...

Just starting out? Need help? Post your questions and find answers here.
marc_256
Addict
Addict
Posts: 859
Joined: Thu May 06, 2010 10:16 am
Location: Belgium
Contact:

IDE Debug problem ...

Post 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
- every professional was once an amateur - greetings from Pajottenland - Belgium -
PS: sorry for my english I speak flemish ...
infratec
Always Here
Always Here
Posts: 7699
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: IDE Debug problem ...

Post 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 :?:
User avatar
spikey
Enthusiast
Enthusiast
Posts: 789
Joined: Wed Sep 22, 2010 1:17 pm
Location: United Kingdom

Re: IDE Debug problem ...

Post 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
Post Reply