Esempio n. 1
0
            } // 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()
Esempio n. 2
0
 /// <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");
 }
Esempio n. 3
0
 private void _debuggee_SystemError(object sender, SystemErrorEventArgs e)
 {
     HandleIfBroken(DebugTrigger.SystemError, e);
     e.Status = DebugStatus.GoNotHandled;
 }
Esempio n. 4
0
 private void client1_SystemError(object sender, SystemErrorEventArgs e)
 {
     MessageBox.Show(e.Exception.Message);
 }
Esempio n. 5
0
 private void _debuggee_PreSystemError(object sender, SystemErrorEventArgs e)
 {
     BreakIfHandled(DebugTrigger.SystemError, e);
 }