|
|
|
@ -345,9 +345,9 @@ namespace Debugger
@@ -345,9 +345,9 @@ namespace Debugger
|
|
|
|
|
// if CurrentException is set an exception has occurred.
|
|
|
|
|
if (SelectedThread.CurrentException != null) { |
|
|
|
|
ExceptionEventArgs args = new ExceptionEventArgs(this, this.SelectedThread.CurrentException, this.SelectedThread.CurrentExceptionType, this.SelectedThread.CurrentExceptionIsUnhandled); |
|
|
|
|
OnExceptionThrown(args); |
|
|
|
|
// clear exception, it is being processed by the debugger.
|
|
|
|
|
this.SelectedThread.CurrentException = null; |
|
|
|
|
OnExceptionThrown(args); |
|
|
|
|
// The event could have resumed or killed the process
|
|
|
|
|
if (this.IsRunning || this.TerminateCommandIssued || this.HasExited) return; |
|
|
|
|
} |
|
|
|
|