News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Problem Debugging with Code:Block

Started by Youngsir, May 01, 2011, 06:48:48 AM

Previous topic - Next topic

Youngsir

Hi,

I have just downloaded Code::Blocks for Windows 64 bit OS. I tried to debug a code, but I get the error message as shown in the attached image file.

So, I followed the instructions in the error message. I went into the "Toolchains Executables" tab, and, in the debugger textbox, it has the debugger file name "gdb.exe". I am not sure if this correct, and if it should be changed.

Please advise.

Thanks.

MortenMacFly

I cannot see the error message as the image is too big (I've removed it to comply with our forum policies therefore). However, did you read the NOTE in red and verified that this is true?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Youngsir

Attached is the pdf file containing the images that I mentioned in my original post.

In response to your reply, I am not sure what is the red note you are referring to.

Please advise.

Jenna

Quote from: Youngsir on May 01, 2011, 04:27:05 PM
Attached is the pdf file containing the images that I mentioned in my original post.

In response to your reply, I am not sure what is the red note you are referring to.

Please advise.
The red note is the text written in red, beginning with "Note:".
Should not be too hard to find.

gdb.exe has to be in the bin-folder of your MinGW installation.
If it's not there you have to install it.

Youngsir

Thanks, I clicked on the auto-detect button, and it found the installation directory. I am now able to compile the code.

Thanks for the quick responses.