Author Topic: Anybody use cdb.exe in C::B successfully ?  (Read 2886 times)

Offline leeya

  • Multiple posting newcomer
  • *
  • Posts: 16
Anybody use cdb.exe in C::B successfully ?
« on: April 24, 2007, 04:49:44 pm »
My evironment configuration as following:
1.CodeBlocks SVN rev3737
2.Visual C++ toolkit 2003
3.Windows Platform SDK for windows server 2003 SP1
4.Debugging Tools for windows (including cdb.exe)

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

I start debug my project.

Building to ensure sources are up-to-date
Build succeeded
Selecting target: Debug
Adding source dir: D:\CodeWorld\RSWL2VC\UnitTest\
Adding source dir: D:\CodeWorld\RSWL2VC\UnitTest\
Adding file: bin\Debug\UnitTest.exe
Starting debugger: done
Setting breakpoints
ok!
Hello World!
Microsoft (R) Windows Debugger  Version 6.4.0007.2
Copyright (c) Microsoft Corporation. All rights reserved.
CommandLine: bin/Debug/UnitTest.exe
Symbol search path is: D:/CodeWorld/RSWL2VC/UnitTest/
Executable search path is:
ModLoad: 00400000 00414000   image00400000
ModLoad: 7c920000 7c9b4000   ntdll.dll
ModLoad: 7c800000 7c91c000   C:\WINDOWS\system32\kernel32.dll
(5b4.e74): Break instruction exception - code 80000003 (first chance)
eax=00241eb4 ebx=7ffde000 ecx=00000001 edx=00000002 esi=00241f48 edi=00241eb4
eip=7c921230 esp=0012fb20 ebp=0012fc94 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000202
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for ntdll.dll -
ntdll!DbgBreakPoint:
7c921230 cc               int     3
*** WARNING: Unable to verify checksum for image00400000
*** ERROR: Module load completed but symbols could not be loaded for image00400000
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\WINDOWS\system32\kernel32.dll
-
Debugger finished with status 0