[Lldb-commits] [lldb] [lldb-dap] Creating an API for sending custom dap events from lldb-dap. (PR #112384)

Adrian Vogelsgesang via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 16 02:20:35 PDT 2024


================
@@ -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:

I couldn't find where we are handling this in the code. Did you already update the PR with those changes?

https://github.com/llvm/llvm-project/pull/112384


More information about the lldb-commits mailing list