} // end UnloadModule() public int SystemError(uint Error, uint Level) { try { var eventArgs = new SystemErrorEventArgs(m_debugger, Error, Level); int retVal = _RaiseEvent(m_debugger.SystemError, eventArgs); if (_ShouldOutput(retVal, eventArgs)) { _PsPipe.WriteObject(eventArgs); } return(retVal); } catch (Exception e) { Util.FailFast("Unexpected exception during event callback.", e); return(0); } } // end SystemError()
/// <summary> /// An unhandled error occured on the server /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void server_SystemErrorOccured(object sender, SystemErrorEventArgs e) { MessageBox.Show(e.Exception.ToString(), "Error"); }
private void _debuggee_SystemError(object sender, SystemErrorEventArgs e) { HandleIfBroken(DebugTrigger.SystemError, e); e.Status = DebugStatus.GoNotHandled; }
private void client1_SystemError(object sender, SystemErrorEventArgs e) { MessageBox.Show(e.Exception.Message); }
private void _debuggee_PreSystemError(object sender, SystemErrorEventArgs e) { BreakIfHandled(DebugTrigger.SystemError, e); }