[Lldb-commits] [lldb] [lldb][Target] Clear selected frame index after a StopInfo::PerformAction (PR #133078)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 4 05:05:15 PDT 2025


Michael137 wrote:

> The only bad effect I can see just from looking at the patch is if I had selected frame 5 of a given thread, and then had run an expression. I want to make sure that when the expression is done running, we don't set the selected frame back to 0 (or whatever the most relevant frame machinery would choose). It should stay at 5. I am pretty sure that will work because the expression evaluator resets the frame by hand when it's done. But we should make sure I'm right about that. Other than that, this still seems fine to me.

Yup, I tried running an expression from a different frame and after the expression completed the selected frame was the one we started with.

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


More information about the lldb-commits mailing list