DbgBreakPoint Home
Windows Driver Kit: Driver Development Tools
DbgBreakPoint

The DbgBreakPoint routine breaks into the kernel debugger.

VOID
NTAPI
  DbgBreakPoint(
    VOID 
    );

Parameters

None

Return Value

None

Comments

The DbgBreakPoint routine is the kernel-mode equivalent of DebugBreak.

This routine raises an exception that is handled by the kernel debugger if one is installed; otherwise, it is handled by the debug system. If a debugger is not connected to the system, the exception can be handled in the standard way.

In kernel mode, a break exception that is not handled will cause a bug check. You can, however, connect a kernel-mode debugger to a target computer that has stopped responding and has kernel debugging enabled. For more information, see Debugging Tools for NT-Based Operating Systems.

Requirements

Headers: This routine is defined in ntddk.h and wdm.h. Include ntddk.h or wdm.h.

See Also

DbgBreakPointWithStatus, KdBreakPoint, KdBreakPointWithStatus


Send feedback on this topic
Built on November 19, 2009
© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View