Is there way to tell WinDbg to ignore program breakpoints?
Asked Answered
K

1

6

Is there way to tell WinDbg to ignore program breakpoints like caused by DebugBreak function?

Kurland answered 13/11, 2014 at 10:55 Comment(0)
D
17

Have a look at the Controlling Exceptions and Events page on MSDN. It explains how to use the sx* commands to break, ignore, or print exceptions/events as they happen.

What you are looking for is probably:

sxn bpe

This tells the debugger to print a message without breaking when a breakpoint exception (0x80000003) occurs.

Typical debugger output looks like:

(b70.11fc): Break instruction exception - code 80000003 (first chance)
Divide answered 13/11, 2014 at 12:37 Comment(1)
and how to disable program breakpoint at a specific line in code?Superinduce

© 2022 - 2024 — McMap. All rights reserved.