상속: CorProcessEventArgs
예제 #1
0
 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
        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);
            }
        }