Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

(C++) How must I use the Dev C++ debugger?

 

A C++ FAQ.

 

Set a breakpoint somewhere in your code, by clicking in the gutter left of the code.

 

Do 'F8 (Debug)'. The program will ask to recompile, click 'Yes'.

 

If the program keeps asking to recompile, without starting the program, do 'Tools | Compiler options'. In this screen do the following:

*        Check 'Add the following commands when calling compiler'

*        Add '-g' to the edit box below

*        Check 'Add these commands to the linker command-line'

*        Add '-g' to the edit box below

 

Doing 'F8 (Debug)' again should do the trick.

 

External links

*        YouTube video showing this

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.