[Lldb-commits] [lldb] Add docs describing how the thread plan stack affects stepping (PR #110167)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 26 15:35:35 PDT 2024


================
@@ -536,6 +536,33 @@ This command will run the thread in the current frame until it reaches line 100
 in this frame or stops if it leaves the current frame. This is a pretty close
 equivalent to GDB's ``until`` command.
 
+One other useful thing to note about the lldb stepping commands is that they
+are implemented as a stack of interruptible operations.  Until the operation -
+e.g. step to the next line - is completed, the operation will remain on the
+stack.  If it is interrupted, new stepping commands will result in their
----------------
bulbazord wrote:

I'm not 100% clear on what this sentence means. To confirm my understanding, you're trying to say something like "Interrupting a thread's execution doesn't clear the stack and running further stepping commands after that will push more operations to the stack". Is that right?

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


More information about the lldb-commits mailing list