diff options
author | Arseny Chernyaev <arseny.chernyaev@jetbrains.com> | 2017-02-01 20:32:34 +0300 |
---|---|---|
committer | Artem Bukhonov <Artem.Bukhonov@jetbrains.com> | 2017-03-11 21:22:18 +0300 |
commit | 1c6ce95c7ce42e90d70889132e57ee8deaf03fdd (patch) | |
tree | caf65c856d796640491eff52a310b50bcc307834 /main/src/addins/MonoDevelop.Debugger.Win32 | |
parent | b75c5de6e2dcb65532a9385a5a707b8d0e780e69 (diff) |
wrap all exception on evaluation
(cherry picked from commit 003b035)
Diffstat (limited to 'main/src/addins/MonoDevelop.Debugger.Win32')
-rw-r--r-- | main/src/addins/MonoDevelop.Debugger.Win32/Mono.Debugging.Win32/CorDebuggerSession.cs | 4 |
1 files changed, 2 insertions, 2 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 490c368cdb..f103652ffb 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 @@ -2,6 +2,7 @@ using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
+using System.Data;
using System.Diagnostics.SymbolStore;
using System.IO;
using System.Reflection;
@@ -1753,8 +1754,7 @@ namespace Mono.Debugging.Win32 throw;
}
catch (Exception ex) {
- OnDebuggerOutput (true, ex.ToString ());
- return string.Empty;
+ throw new EvaluatorException (ex.Message);
}
}
|