DbgBreakPointWithStatus routine

The DbgBreakPointWithStatus routine breaks into the kernel debugger and sends the value of Status to the debugger.

Syntax


NTSYSAPI VOID DbgBreakPointWithStatus(
  _In_ ULONG Status
);

Parameters

Status [in]

Specifies a ULONG value that is sent to the debugger (for example, a status code or an address).

Return value

None

Remarks

DbgBreakPointWithStatus is identical to DbgBreakPoint, except for the Status message.

On x86 computers, the Status parameter is stored in the eax register. On machines that have register calling conventions, Status is stored in the first argument register.

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 Windows Debugging.

Requirements

Target platform

Universal

Version

Available in Microsoft Windows 2000 and later.

Header

Ntddk.h (include Ntddk.h)

Library

Ntdll.lib (user mode);
NtosKrnl.lib (kernel mode)

DLL

NtosKrnl.exe

DDI compliance rules

DebugBreakUsage

See also

DbgBreakPoint
KdBreakPoint
KdBreakPointWithStatus

 

 

Send comments about this topic to Microsoft

Show: