KdCheckForDebugBreak

VOID __stdcall KdCheckForDebugBreak(){
  if( !KdPitchDebugger && (_BYTE)KdDebuggerEnabled || KdEventLoggingEnabled )
  {
    if( KdPollBreakIn() )
      DbgBreakPointWithStatus(1u);
  }
}

Referenced by:

IoWriteCrashDump
KeAccumulateTicks
MiAddRangeToCrashDump
PopHiberCheckForDebugBreak