diff options
author | Arseny Chernyaev <arseny.chernyaev@jetbrains.com> | 2017-02-09 18:03:58 +0300 |
---|---|---|
committer | Artem Bukhonov <Artem.Bukhonov@jetbrains.com> | 2017-03-11 21:29:04 +0300 |
commit | 494a0b7379d2f747b62796375c059eccd788c225 (patch) | |
tree | 48aad9bb91624bf4687ff3b896afff0cbbb9e38b /main/src/addins/MonoDevelop.Debugger.Win32 | |
parent | 0a0b04058014b58da6e2bcac10d1b784c1c54809 (diff) |
fixed handle-all problem
(cherry picked from commit 32f7685)
Diffstat (limited to 'main/src/addins/MonoDevelop.Debugger.Win32')
-rw-r--r-- | main/src/addins/MonoDevelop.Debugger.Win32/Mono.Debugging.Win32/CorDebuggerSession.cs | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger.Win32/Mono.Debugging.Win32/CorDebuggerSession.cs b/main/src/addins/MonoDevelop.Debugger.Win32/Mono.Debugging.Win32/CorDebuggerSession.cs index 7ee14f78a0..d55d1819a1 100644 --- a/main/src/addins/MonoDevelop.Debugger.Win32/Mono.Debugging.Win32/CorDebuggerSession.cs +++ b/main/src/addins/MonoDevelop.Debugger.Win32/Mono.Debugging.Win32/CorDebuggerSession.cs @@ -271,7 +271,6 @@ namespace Mono.Debugging.Win32 corProcess.OnEvalException += OnEvalException;
corProcess.OnLogMessage += OnLogMessage;
corProcess.OnException2 += OnException2;
- corProcess.OnException += OnException;
corProcess.RegisterStdOutput (OnStdOutput);
}
@@ -823,32 +822,6 @@ namespace Mono.Debugging.Win32 }
}
- private void OnException (object sender, CorExceptionEventArgs e)
- {
- lock (debugLock) {
- if (evaluating) {
- e.Continue = true;
- return;
- }
- }
-
- TargetEventArgs args = new TargetEventArgs (
- e.Unhandled? TargetEventType.UnhandledException: TargetEventType.ExceptionThrown);
-
- OnStopped ();
- e.Continue = false;
- // If an exception is thrown while stepping, cancel the stepping operation
- if (stepper != null && stepper.IsActive ())
- stepper.Deactivate ();
- autoStepInto = false;
- SetActiveThread (e.Thread);
-
- args.Process = GetProcess (process);
- args.Thread = GetThread (e.Thread);
- args.Backtrace = new Backtrace (new CorBacktrace (e.Thread, this));
- OnTargetEvent (args);
- }
-
public bool IsExternalCode (string fileName)
{
if (string.IsNullOrWhiteSpace (fileName))
|