News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Debugging in CodeBlock

Started by puneet_m, August 23, 2007, 11:15:31 PM

Previous topic - Next topic

puneet_m

How do we debug in CodeBlock. I am using mingw gcc compiler. When I go to Debug->Start. It says go to Settings/Compiler and debugger, switch to programs tab and select the debugger program. But when I go over there, it does not show me any such option there?

Thanks


thomas

"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

puneet_m

Over there debugger is set as gdb.exe. So what do I need to do so that I can use the debugger.

Thanks

thomas

1. Make sure you actually have the debugger installed.
2. Press the "Debug" button.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

puneet_m


JGM

Quote from: puneet_m on August 24, 2007, 12:36:11 AM
How can I install debugger?

Well here you can download the debugger - http://sourceforge.net/project/showfiles.php?group_id=2435

The file that you should download is gdb-6.6.tar.bz2 and extract it to the bin directory where you have mingw installed.

Always visit http://mingw.org for all the tools concerning gcc for windows and to familiarize your self with the mingw/gcc building system.