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>2019-12-19 21:52:01 +0300
committerGitHub <noreply@github.com>2019-12-19 21:52:01 +0300
commitff15fbf068f7173deeb3e9d04e11f7be4d5629c4 (patch)
tree85c9ebb747e0f6a32447b4c481198ae82b381955 /main/src
parent905d5b74af995bd4e6b2aa862b94d2737012f8a6 (diff)
Update VSCodeDebuggerSession.cs
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 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;