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

via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 27 09:54:03 PDT 2025


================
@@ -936,3 +936,7 @@ size_t StackFrameList::GetStatus(Stream &strm, uint32_t first_frame,
   strm.IndentLess();
   return num_frames_displayed;
 }
+
+void StackFrameList::ClearSelectedFrameIndex() {
----------------
jimingham wrote:

lldb really only should have an opinion about the selected frame index when a process stops, before control gets handed back to the user.  After that, it's up to them to change it whenever they feel like it.  So maybe we don't need to be as protective of this ivar?

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


More information about the lldb-commits mailing list