[Lldb-commits] [lldb] [lldb][nfc] Add customization flags for ThreadPlanStepOut (PR #135866)

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 16 12:23:30 PDT 2025


felipepiovezan wrote:

> The `frame_idx` parameter is the frame you step out to.

I don't think this is quite true, that parameter indicates where we step out _from_. I know this distinction may look unimportant at first, but it is exactly that distinction that gives the constructor space to skip artificial/hidden frames.

The frame we step out _to_ is initially computed as `frame_idx+1`, and that keeps getting incremented while the frame is artificial/hidden. 

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


More information about the lldb-commits mailing list