[Lldb-commits] [lldb] [lldb-dap] Prevent using an implicit `step-in`. (PR #143644)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 13 02:47:43 PDT 2025


================
@@ -581,19 +581,19 @@ llvm::json::Value CreateStackFrame(lldb::SBFrame &frame,
 
   EmplaceSafeString(object, "name", frame_name);
 
-  auto target = frame.GetThread().GetProcess().GetTarget();
-  auto source = CreateSource(frame.GetPCAddress(), target);
----------------
labath wrote:

> We do not have access to the function because lldb-dap uses the `SB-API`

I don't know if it makes sense here, but I want to point out that we can definitely consider adding new SB functions if they are useful for some users (like lldb-dap).

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


More information about the lldb-commits mailing list