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

Ebuka Ezike via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 3 07:36:17 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();
----------------
da-viper wrote:

I changed it to `LLDB_INVALID_ADDRESS` as that is what we are storing

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


More information about the lldb-commits mailing list