Skip to content

Commit c4c1738

Browse files
ArseniiCherniaevnerzhulart
authored andcommitted
wrap all exception on evaluation
(cherry picked from commit 003b035)
1 parent 7707698 commit c4c1738

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Mono.Debugging.Win32/CorDebuggerSession.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Collections;
33
using System.Collections.Concurrent;
44
using System.Collections.Generic;
5+
using System.Data;
56
using System.Diagnostics.SymbolStore;
67
using System.IO;
78
using System.Reflection;
@@ -1753,8 +1754,7 @@ string EvaluateExpression (CorThread thread, string exp)
17531754
throw;
17541755
}
17551756
catch (Exception ex) {
1756-
OnDebuggerOutput (true, ex.ToString ());
1757-
return string.Empty;
1757+
throw new EvaluatorException (ex.Message);
17581758
}
17591759
}
17601760

0 commit comments

Comments
 (0)