Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: puneet_m on August 23, 2007, 11:15:31 pm

Title: Debugging in CodeBlock
Post by: puneet_m on August 23, 2007, 11:15:31 pm
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

Title: Re: Debugging in CodeBlock
Post by: thomas on August 23, 2007, 11:34:42 pm
"Toolchain executables"
Title: Re: Debugging in CodeBlock
Post by: puneet_m on August 23, 2007, 11:54:19 pm
Over there debugger is set as gdb.exe. So what do I need to do so that I can use the debugger.

Thanks
Title: Re: Debugging in CodeBlock
Post by: thomas on August 24, 2007, 12:10:03 am
1. Make sure you actually have the debugger installed.
2. Press the "Debug" button.
Title: Re: Debugging in CodeBlock
Post by: puneet_m on August 24, 2007, 12:36:11 am
How can I install debugger?
Title: Re: Debugging in CodeBlock
Post by: JGM on August 24, 2007, 02:44:23 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.