--- a/cmajor++/CmDevEnv/Server/Debugger.cs
+++ b/cmajor++/CmDevEnv/Server/Debugger.cs
@@ -319,6 +319,20 @@
             if (logging)
             {
                 log.Write("< Debugger.SetDebugLibraryStatusAsync got reply: " + reply.GetType().ToString());
+            }
+            return reply;
+        }
+        public async Task<DebuggerReply> SetBreakOnThrowStatusAsync(bool enabled)
+        {
+            if (logging)
+            {
+                log.Write("> Debugger.SetBreakOnThrowStatusAsync");
+            }
+            debuggerStdin.WriteLine("<cmdb.request<[[set break on throw " + (enabled ? "on" : "off") + "]]>");
+            DebuggerReply reply = await Task.Run<DebuggerReply>(() => { return WaitForReply(); });
+            if (logging)
+            {
+                log.Write("< Debugger.SetBreakOnThrowStatusAsync got reply: " + reply.GetType().ToString());
             }
             return reply;
         }