Author Topic: help me, about cdb, thanks...  (Read 3179 times)

xhf6731202

  • Guest
help me, about cdb, thanks...
« 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!

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: help me, about cdb, thanks...
« Reply #1 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.

Offline Albenejean

  • Multiple posting newcomer
  • *
  • Posts: 65