[Lldb-commits] [lldb] [lldb] Expose QueueThreadPlanForStepSingleInstruction function to SBThreadPlan (PR #137904)

via lldb-commits lldb-commits at lists.llvm.org
Thu May 1 11:17:49 PDT 2025


================
@@ -105,6 +105,10 @@ class LLDB_API SBThreadPlan {
   SBThreadPlan QueueThreadPlanForStepOut(uint32_t frame_idx_to_step_to,
                                          bool first_insn, SBError &error);
 
+  SBThreadPlan QueueThreadPlanForStepSingleInstruction(bool step_over);
----------------
jimingham wrote:

Yes, I should have thought of that.  We should leave out the no-error overload.  You can make that work by checking SBThreadPlan::IsValid, but you don't get the error message and it's much easier to forget to do that.

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


More information about the lldb-commits mailing list