[Lldb-commits] [lldb] [lldb-dap] Use structured types for stepInTargets request (PR #142439)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 2 14:48:06 PDT 2025


================
@@ -414,6 +415,34 @@ bool fromJSON(const llvm::json::Value &, SteppingGranularity &,
               llvm::json::Path);
 llvm::json::Value toJSON(const SteppingGranularity &);
 
+/// A `StepInTarget` can be used in the `stepIn` request and determines into
+/// which single target the `stepIn` request should step.
+struct StepInTarget {
+  /// Unique identifier for a step-in target.
+  uint64_t id = std::numeric_limits<uint64_t>::max();
----------------
JDevlieghere wrote:

Should this use `LLDB_INVALID_FRAME_ID`? 

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


More information about the lldb-commits mailing list