Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: xhf6731202 on December 30, 2007, 08:24:17 am

Title: help me, about cdb, thanks...
Post by: xhf6731202 on December 30, 2007, 08:24:17 am
My configuration as following:

1. IDE Code::Blocks SVN 4596 (including plugin Debugger version 0.3 with description "Plugin that interface the GNU GDB and MS CDB debuggers.").

2. Compiler vs2005

3. Compiler Flags:set produce debugging symbols [/Zi /D_DEBUG]

4. Debugging Tools for windows (including cdb.exe version 6.8.4.0)

I finished cdb debugger configuration by adding "Additional Path" in Toolchain executables.

I start debug my project...

code:
Selecting target:
Debug
Adding source dir: D:\wxPQExpert\aaaa\
Adding source dir: D:\wxPQExpert\aaaa\
Adding file: bin\Debug\aaaa.exe
Starting debugger:
done
Debugger finished with status 1



help me please! thanks!
Title: Re: help me, about cdb, thanks...
Post by: Jenna on December 30, 2007, 09:09:41 am
I don't know much about cdb but:

there seems to be a bug in the debugger-plugin when you reopen a project and the Build target is "Debug".
Even if it's chosen in toolbar C::B might use another Build target when you start the debugger.
In this case you can change your Build target to (for example) "Release" and then go back to "Debug" and try it again.


If that does not work, you can turn on the debuggers log under "Settings -> Compiler and debugger settings -> Debugger settings" with the appropriate checkbox.
You should than have a new Tab in the log area called "Debugger (debug)" where the commands send to the debugger and the feedbacks go.

This might help you (or somebody here) to find what's wrong.
Title: Re: help me, about cdb, thanks...
Post by: Albenejean on December 30, 2007, 02:50:23 pm
http://forums.codeblocks.org/index.php/topic,6419.0.html (http://forums.codeblocks.org/index.php/topic,6419.0.html)