Inheritance: CorProcessEventArgs
コード例 #1
0
ファイル: ClrProcess.cs プロジェクト: acken/ClrSequencer
 void _process_OnDebuggerError(object sender, CorDebuggerErrorEventArgs e)
 {
     Marshal.ThrowExceptionForHR(e.HResult);
 }
コード例 #2
0
		void OnDebuggerError (object sender, CorDebuggerErrorEventArgs e)
		{
			Exception ex = Marshal.GetExceptionForHR (e.HResult);
			OnDebuggerOutput (true, string.Format ("Debugger Error: {0}\n", ex.Message));
		}
コード例 #3
0
ファイル: Process.cs プロジェクト: EbinJohn/BigBrother
        private void DebuggerErrorEventHandler(Object sender, CorDebuggerErrorEventArgs e)
        {
            Trace.WriteLine("ManagedCallback::DebuggerError");
            BeginManagedDebugEvent();
            try
            {
                if (InternalHandleRawMode(ManagedCallbackType.OnDebuggerError, e))
                    return;

                e.Continue = false;
                InternalSignalRuntimeIsStopped(null, new DebuggerErrorStopReason(e.HResult));
                Debug.Assert(false, "Critical failures -- received DebuggerError callback.");
            }
            finally
            {
                EndManagedDebugEvent(e);
            }
        }