================
@@ -137,7 +146,18 @@ DAP *DAPSessionManager::FindDAPForTarget(lldb::SBTarget
target) {
if (dap && dap->target.IsValid() && dap->target == target)
return dap;
- return nullptr;
+ // Fallback for events that fire before SetTarget binds the target.
+ // Route to the unique DAP for this target's debugger if there is one.
+ const lldb::user_id_t debugger_id = target.GetDebugger().GetID();
+ DAP *unique_dap = nullptr;
----------------
charles-zablit wrote:
Fixed!
Sorry for the delay.
https://github.com/llvm/llvm-project/pull/201866
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits