C++ CDB debugger probleme

258 Views Asked by At

I'm using visual studios 2008 under QT 4.8.1 and QT library 4.8.6. For debug i use the microsoft tool CDB delivered with Visual Studios 2008.

When running my program in release (ctrl + R) everything is good. When I try to lunch debugging ( F5 ) the programm stops before starting debug at an assembly code .

0x77cc0f6f  <+ 3866>         jne     ntdll!LdrVerifyImageMatchesChecksum+0xf33 (77cc0f88)
0x77cc0f71  <+ 3868>         mov     dword ptr [ebp-4],ebx
0x77cc0f74  <+ 3871>         int     3
0x77cc0f75  <+ 3872>         mov     dword ptr [ebp-4],esi     <<<(Stops here)
0x77cc0f78  <+ 3875>         jmp     ntdll!LdrVerifyImageMatchesChecksum+0xf33 (77cc0f88)
0x77cc0f7a  <+ 3877>         xor     eax,eax
0x77cc0f7c  <+ 3879>         inc     eax
0x77cc0f7d  <+ 3880>         ret
0x77cc0f7e  <+ 3881>         mov     esp,dword ptr [ebp-18h]
0x77cc0f81  <+ 3884>         mov     dword ptr [ebp-4],0FFFFFFFEh
0x77cc0f88  <+ 3891>         call    ntdll!memcpy+0xbc61 (77c4dfc1)
1

There are 1 best solutions below

0
Frimus On

I resolved the problem simply by deleting all brakpoints! The CDB was blocked when calling ntdll.dll (windows dell). No symbols in windows DLL that is why the CDB blocked in assembly line.

Hope that will be usful for somone ! Good luck to all!