I'd love to ask someone to hint me what to do. I have installed Dev-C++ on my computer (the 5.11 ver.) I don't know what happened to it, if it's Windows 8.1 problem or some other I really don't know, but when I start to debug, it simply stops working. What exactly happens: I open dev-c++, then I open my *.c file. I set a breakpoint in my source code, and when I hit debug, a pop-up windows shows:
You have not enabled debugging info (-g) and/or stripped it from executable (-s) in Compiler Options.
Do you want to correct this now?
And when I hit yes, it simply stops to respond, and crashes. I have never occured such situation, because on every computer I have worked, I'd got no problem with debugging on Dev-C++. Even running it in compatibility mode didn't help. I really don't know what to do. For any help, thanks in advance!
How to debug in Dev-c++ You can use the Dev-c++ debugger to help you find errors in your program. In debug mode, you can step through the execution of your program one line at a time. Also, you can stop at any time to see the value of your variables.
To set the breakpoint, click in the gutter to the left of the doWork function call (or select the line of code and press F9). Now press F5 (or choose Debug > Start Debugging). The debugger pauses where you set the breakpoint. The statement where the debugger and app execution is paused is indicated by the yellow arrow.
For me to fix by following as below
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With