[Lldb-commits] [lldb] [lldb-dap] Add data breakpoints for bytes (PR #167237)

Ebuka Ezike via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 26 08:43:24 PST 2025


================
@@ -678,7 +678,7 @@ llvm::json::Value CreateThreadStopped(DAP &dap, lldb::SBThread &thread,
   } break;
   case lldb::eStopReasonWatchpoint:
   case lldb::eStopReasonInstrumentation:
-    body.try_emplace("reason", "breakpoint");
+    body.try_emplace("reason", "data breakpoint");
----------------
da-viper wrote:

the data breakpoint reason should only apply to `eStopReasonWatchpoint` 

we should also append the `description` and `hitBreakpointIds` see the case `eStopReasonBreakpoint` above. 

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


More information about the lldb-commits mailing list