Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseny Chernyaev <arseny.chernyaev@jetbrains.com>2017-02-01 20:32:34 +0300
committerArtem Bukhonov <Artem.Bukhonov@jetbrains.com>2017-03-11 21:22:18 +0300
commit1c6ce95c7ce42e90d70889132e57ee8deaf03fdd (patch)
treecaf65c856d796640491eff52a310b50bcc307834 /main/src/addins/MonoDevelop.Debugger.Win32
parentb75c5de6e2dcb65532a9385a5a707b8d0e780e69 (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.cs4
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);
}
}