I'm debugging a program that's crashing with WinDbg set as my post-mortem debugger. I have set a breakpoint at address 77f7f571. When it's triggered, I used to get the following:
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\System32\ntdll.dll -
ntdll!DbgBreakPoint+0x1:
Then I followed the instructions from http://www.osronline.com/ShowThread.cfm?link=178221, and now I just get
ntdll!DbgBreakPoint+0x1:
I'd like to remove this breakpoint, but I can't get it to list or delete. There's no output for bl, nor for bc or bd:
0:002> bl
0:002> bc *
0:002> bd *
This is not a line based breakpoint but looks like a manual call to
DebugBreak()
like in the following program:Internally, the method will throw an exception. To control whether WinDbg stops due to the exception, use
sxe bpe
to stop andsxi bpe
to ignore the exception.To try this, compile above application and run it under WinDbg (Ctrl+E). At the inital breakpoint, take over the control:
After this experiment, type
.restart
. Then repeat the experiment withsxi bpe
:As you can see, WinDbg did not stop at
KERNELBASE!DebugBreak+0x2
due to the exception any more.