C++ CDB 调试器问题

C++ CDB debugger probleme

本文关键字:问题 调试器 CDB C++      更新时间:2023-10-16

>我正在使用QT 4.8.1和QT库4.8.6下的Visual Studios 2008。对于调试,我使用Visual Studios 2008附带的Microsoft工具CDB。

在发布(ctrl + R(中运行我的程序时,一切都很好。当我尝试午餐调试(F5(时,程序在汇编代码开始调试之前停止。

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)

我只是通过删除所有制动点来解决问题!CDB在调用ntdll.dll(Windows dell(时被阻止。Windows DLL中没有符号,这就是为什么CDB在装配线中被阻止的原因。

希望这对索蒙有用!祝大家好运!