hello,
i'd like to alert to two bugs:
1) "Profiler settings" panel (Settings->Compiler and debugger settings) is displayed twice
2) CDB debugger (more exactly working paths settings) seems to work wrong. I tried to debug basic Irrlicht project (created by Code::Blocks generic application wizard for Irrlicht library) with CBD debugger and the result (the debugger log) is shown bellow:
Building to ensure sources are up-to-date
Build succeeded
Selecting target: VS2005 Debug
[color=yellow]Adding source dir: C:\MyWork\Source\VC++\CBIrrHello\
Adding source dir: C:\MyWork\Source\VC++\CBIrrHello\
Changing directory to: bin/Debug2005
Adding file: bin\Debug2005\CBIrrHello.exe[/color]
Starting debugger: done
Setting breakpoints
quit:
Microsoft (R) Windows Debugger Version 6.6.0007.5
Copyright (c) Microsoft Corporation. All rights reserved.
CommandLine: bin/Debug2005/CBIrrHello.exe
[color=yellow]Symbol search path is: C:/MyWork/Source/VC++/CBIrrHello/
Executable search path is: [/color]
ModLoad: 00400000 00436000 CBIrrHello.exe
ModLoad: 7c900000 7c9b0000 ntdll.dll
ModLoad: 7c800000 7c8f4000 C:\WINDOWS\system32\kernel32.dll
ModLoad: 10000000 10130000 C:\MyWork\Source\VC++\CBIrrHello\bin\Debug2005\Irrlicht.dll
ModLoad: 77d40000 77dd0000 C:\WINDOWS\system32\USER32.dll
ModLoad: 77f10000 77f57000 C:\WINDOWS\system32\GDI32.dll
ModLoad: 77dd0000 77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
ModLoad: 77e70000 77f01000 C:\WINDOWS\system32\RPCRT4.dll
ModLoad: 5ed00000 5edcc000 C:\WINDOWS\system32\OPENGL32.dll
ModLoad: 77c10000 77c68000 C:\WINDOWS\system32\msvcrt.dll
ModLoad: 68b20000 68b40000 C:\WINDOWS\system32\GLU32.dll
ModLoad: 73760000 737a9000 C:\WINDOWS\system32\DDRAW.dll
ModLoad: 73bc0000 73bc6000 C:\WINDOWS\system32\DCIMAN32.dll
(a30.65c): Break instruction exception - code 80000003 (first chance)
eax=00251eb4 ebx=7ffd9000 ecx=00000003 edx=00000008 esi=00251f48 edi=00251eb4
eip=7c901230 esp=0013fb20 ebp=0013fc94 iopl=0 nv up ei pl nz na po 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:
7c901230 cc int 3
*** WARNING: Unable to verify checksum for CBIrrHello.exe
*** WARNING: Unable to verify checksum for C:\MyWork\Source\VC++\CBIrrHello\bin\Debug2005\Irrlicht.dll
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\MyWork\Source\VC++\CBIrrHello\bin\Debug2005\Irrlicht.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\OPENGL32.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\GLU32.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\DDRAW.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\DCIMAN32.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\msvcrt.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\USER32.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\ADVAPI32.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\RPCRT4.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\GDI32.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\kernel32.dll -
Debugger finished with status 0
CDB changes the execution working dir to "C:/MyWork/Source/VC++/CBIrrHello/" despite my project settings ("C:/MyWork/Source/VC++/CBIrrHello/bin/Debug2005"), moreover, it seem that the debugger symbol file is generated into execution working directory set in the project settings, but CDB symbols search path is the main project directory. This i probably the reason for debugger errors displayed above.
Is there any way how to specify (examine) the command line for CDB debugger?