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
path: root/main/src
diff options
context:
space:
mode:
authorKeting Yang <ketyang@microsoft.com>2020-01-04 01:01:07 +0300
committerKeting Yang <ketyang@microsoft.com>2020-01-04 01:01:07 +0300
commit646c822be1860ea4cc5d690008f8f2ff0bf2ac03 (patch)
tree7805ce17e86f36424640601012f716775058cf1d /main/src
parentff15fbf068f7173deeb3e9d04e11f7be4d5629c4 (diff)
The filter was catching the unhandled exceptions
Diffstat (limited to 'main/src')
-rw-r--r--main/src/addins/MonoDevelop.Debugger.VSCodeDebugProtocol/MonoDevelop.Debugger.VsCodeDebugProtocol/VSCodeDebuggerSession.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger.VSCodeDebugProtocol/MonoDevelop.Debugger.VsCodeDebugProtocol/VSCodeDebuggerSession.cs b/main/src/addins/MonoDevelop.Debugger.VSCodeDebugProtocol/MonoDevelop.Debugger.VsCodeDebugProtocol/VSCodeDebuggerSession.cs
index c6497fbf79..bc56c02ac5 100644
--- a/main/src/addins/MonoDevelop.Debugger.VSCodeDebugProtocol/MonoDevelop.Debugger.VsCodeDebugProtocol/VSCodeDebuggerSession.cs
+++ b/main/src/addins/MonoDevelop.Debugger.VSCodeDebugProtocol/MonoDevelop.Debugger.VsCodeDebugProtocol/VSCodeDebuggerSession.cs
@@ -167,7 +167,7 @@ namespace MonoDevelop.Debugger.VsCodeDebugProtocol
if (currentExceptionState != hasCustomExceptions || !unhandleExceptionRegistered) {
currentExceptionState = hasCustomExceptions;
var exceptionRequest = new SetExceptionBreakpointsRequest (
- Capabilities.ExceptionBreakpointFilters.Where (f => hasCustomExceptions || (f.Default ?? false) || (f.Label == GettextCatalog.GetString("User-Unhandled Exceptions"))).Select (f => f.Filter).ToList ());
+ Capabilities.ExceptionBreakpointFilters.Where (f => hasCustomExceptions || (f.Default ?? false)).Select (f => f.Filter).ToList ());
exceptionRequest.ExceptionOptions = new List<ExceptionOptions> () { new ExceptionOptions (ExceptionBreakMode.Unhandled)};
protocolClient.SendRequest (exceptionRequest, null);
unhandleExceptionRegistered = true;