Pelles C forum

Pelles C => General discussions => Topic started by: post from old forum on September 13, 2004, 08:44:22 PM

Title: About the debugger option
Post by: post from old forum on September 13, 2004, 08:44:22 PM
Hi Pelle,

How are you? I just want to say "Thanks" to you for created this wonderful software! And I have a little question ... Inside the Tools\Options\Debug, what that means for "Just-in-time Debugging"? What's the difference to check it or not?

Thanks for your help ...

Barney.
Title: About the debugger option
Post by: post from old forum on September 13, 2004, 08:45:00 PM
Hello Barney,
I'm fine thanks, and thank you very much!

If you check 'Just-in-time debugging' it means that whenever a program cause an exception (crash if you will), and you get a dialog saying something like 'This application has caused an blah blah exception and will be shut down' you will see an extra 'Debug' button in this dialog. If you press this button, Pelles C IDE will be started, the debugger will be started, and the caret/cursor will show the offending instruction. If the program contains debugging information you will see the source code, otherwise the assembly code. This will work even if you don't run the program from the IDE, it all happens through some magic Registry settings...

Pelle