diff options
author | Keting Yang <ketyang@microsoft.com> | 2019-12-19 21:52:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-19 21:52:01 +0300 |
commit | ff15fbf068f7173deeb3e9d04e11f7be4d5629c4 (patch) | |
tree | 85c9ebb747e0f6a32447b4c481198ae82b381955 /main/src | |
parent | 905d5b74af995bd4e6b2aa862b94d2737012f8a6 (diff) |
Update VSCodeDebuggerSession.cs
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/addins/MonoDevelop.Debugger.VSCodeDebugProtocol/MonoDevelop.Debugger.VsCodeDebugProtocol/VSCodeDebuggerSession.cs | 2 |
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 55676bc3bb..c6497fbf79 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 == "User-Unhandled Exceptions")).Select (f => f.Filter).ToList ()); + Capabilities.ExceptionBreakpointFilters.Where (f => hasCustomExceptions || (f.Default ?? false) || (f.Label == GettextCatalog.GetString("User-Unhandled Exceptions"))).Select (f => f.Filter).ToList ()); exceptionRequest.ExceptionOptions = new List<ExceptionOptions> () { new ExceptionOptions (ExceptionBreakMode.Unhandled)}; protocolClient.SendRequest (exceptionRequest, null); unhandleExceptionRegistered = true; |