================
@@ -212,10 +245,17 @@ static void SendStoppedEvent(DAP &dap, lldb::SBThread
&thread, bool on_entry,
body.hitBreakpointIds.push_back(bp_id);
body.text = llvm::formatv("data breakpoint {0}", bp_id).str();
} break;
+ // DAP lacks stopped reasons for signals and instrumentation.
case lldb::eStopReasonSignal:
+ body.reason = protocol::eStoppedReasonException;
+ body.text = GetSignalName(thread);
+ break;
case lldb::eStopReasonException:
+ body.reason = protocol::eStoppedReasonException;
----------------
jimingham wrote:
That's just because nobody has written the C++ implementation of this. It
shouldn't be particularly hard for someone who is familiar with the C++
runtime. The runtime has to know what exception is currently in flight for
this thread.
https://github.com/llvm/llvm-project/pull/222394
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits