Debugging windbg中挂起的断点

Debugging windbg中挂起的断点,debugging,windbg,Debugging,Windbg,无法进行远程调试&需要调试我的代码,以解决系统上无法再现的问题。 我可以在linux上的gdb中设置一个挂起的断点。我需要在windbg或windows平台上使用类似的东西,因为我无法共享源文件,但我需要在文件的特定行中插入文件以进行调试 挂起断点是什么意思? 函数所在的模块是否动态加载,并且需要事先设置断点 如果是,则使用bu断点 bu myfoomodule!myblahfunction 这将在加载模块时加载符号,并在需要时设置断点 0:000> lm m help* Browse

无法进行远程调试&需要调试我的代码,以解决系统上无法再现的问题。

我可以在linux上的gdb中设置一个挂起的断点。我需要在windbg或windows平台上使用类似的东西,因为我无法共享源文件,但我需要在文件的特定行中插入文件以进行调试

挂起断点是什么意思?
函数所在的模块是否动态加载,并且需要事先设置断点

如果是,则使用bu断点

bu myfoomodule!myblahfunction
这将在加载模块时加载符号,并在需要时设置断点

0:000> lm m help*
Browse full module list
start    end        module name

<<<<<<<<<<<< no results here 
0:000> .reload /f
Reloading current modules

0:000> lm m help*
Browse full module list
start    end        module name

again no results we cant set a regular breakpoint 
our breakpoint needs to be set using unresolved breakpoint    
lets set it 

0:000> bu HelpPaneProxy!DllMain
let us check 

0:000> bl
     0 e Disable Clear u             0001 (0001) (HelpPaneProxy!DllMain)         
     lets continue 

0:000> g
ModLoad: 77ac0000 77adf000   C:\Windows\system32\IMM32.DLL
ModLoad: 76f90000 7705c000   C:\Windows\system32\MSCTF.dll
un needed mod load display cut off XXXXXXXXXXXXXXXXXXXX
ModLoad: 67d80000 67d91000   C:\Windows\System32\HelpPaneProxy.dll

bingo our breakpoint hit on the module load triggered after clicking help in calc 

Breakpoint 0 hit
eax=00000001 ebx=00000001 ecx=00000001 edx=00000000 esi=00000000 edi=0025cfa8
eip=67d84700 esp=0025ce7c ebp=0025ced8 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000202
HelpPaneProxy!DllMain:
67d84700 8bff            mov     edi,edi