================
@@ -962,6 +962,44 @@ bool ReplModeRequestHandler::DoExecute(lldb::SBDebugger 
debugger,
   return true;
 }
 
+// Sends a custom DAP event with an optional body.
+//
+// See
+// 
https://code.visualstudio.com/api/references/vscode-api#debug.onDidReceiveDebugSessionCustomEvent
+bool CustomDAPEventRequestHandler::DoExecute(
+    lldb::SBDebugger debugger, char **command,
+    lldb::SBCommandReturnObject &result) {
+  // Command format like: `custom-event <name> <body>?`
----------------
vogelsgesang wrote:

afaict, we currently do not reject

```
custom-event foo {} bar baz
```

and simply ignore `bar` and `baz`? We should probably raise an error instead?

https://github.com/llvm/llvm-project/pull/112384
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to