[Lldb-commits] [lldb] [lldb-dap] Enabling instruction breakpoint support to lldb-dap. (PR #105278)

Walter Erquinigo via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 26 09:17:56 PDT 2024


================
@@ -893,7 +957,13 @@ llvm::json::Value CreateThreadStopped(lldb::SBThread &thread,
       body.try_emplace("reason", "exception");
       EmplaceSafeString(body, "description", exc_bp->label);
     } else {
-      body.try_emplace("reason", "breakpoint");
+      InstructionBreakpoint *inst_bp =
+          g_dap.GetInstructionBPFromStopReason(thread);
+      if (inst_bp) {
+        body.try_emplace("reason", "instruction breakpoint");
----------------
walter-erquinigo wrote:

nice!

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


More information about the lldb-commits mailing list