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

Ebuka Ezike via lldb-commits lldb-commits at lists.llvm.org
Thu May 1 05:37:31 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);
----------------
da-viper wrote:

I think is better not to add this overload and force the user to handle the error, 

Since the previous overload was added to handle this problem [commit](https://github.com/llvm/llvm-project/commit/e103ae92ef2336854587778bd3ae88a87e409a5e)

@jimingham what do you think ? . 

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


More information about the lldb-commits mailing list