Hi. I cannot seem to get the debugger working.
I follow all the steps in the HELP pages but no success.
Maybe I am being stupid and not understanding or not seeing
something that should be obvious. I installed DevCPP5 on a
Windows 2000 PC.
I created a simple C console project. It compiles with no
errors and no warnings.
I can set a breakpoint in the source code. But when I try to
RUN the breakpoint is ignored. Every time I click Debug (F8)
I get a pop up box that reads "Your project does not have
debugging information. Do you want to enable debugging and
rebuild your project ?" I click yes, it appears to rebuild,
I click DONE to close the box, and then I am back to where I
started. If I click RUN TO CURSOR, same things occurs.
NEXT STEP, STEP INTO, CONTINUE, and STOP EXECUTION are grayed-
out. Over in the left-hand pane are three tabs: PROJECT,
CLASSES, and DEBUG. I click DEBUG and the pane is empty.
I enabled TOOLS => COMPILER OPTIONS => SETTINGS => LINKER =>
GENERATE DEBUGGING INFORMATION => YES. But it doesn't seem
to help any.
What I want to do is
1) Step through my program line by line.
2) Set a breakpoint, run to the breakpoint, then step through
or resume running.
Why is this so difficult ?
Thanks,
the...@ea...
|