How do you specify a debugger program in Code::Blocks 12.11?
In the Code::Blocks IDE, navigate Settings -> Debugger
In the tree control at the right, select Common -> GDB/CDB debugger -> Common.
Then in the dialog at the left you can enter Executable path and choose Debugger type = GDB or CDB, as well as configuring various other options.
- Go to Settings -> Debugger -> Common -> GDB/CDB Debugger -> Default
- Click on
executable path
to find the address togdb32.exe
- Locate where your codeblock is installed
- Follow the given path:
CodeBlock -> MinGW -> bin -> gdb32.exe (locate it and double click on it)
- Press OK
For Code::Blocks 17.12.
Visit http://wiki.codeblocks.org/index.php?title=MinGW_installation#TDM-GCC
Follow installation's instructions.
Alternatively I suggest this post.
Regards.