[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
Wed Mar 26 09:49:07 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() {
----------------
Michael137 wrote:

`GetSelectedFrameIndex` modifies `m_selected_frame_idx`. So concurrent access would already be an issue there. Maybe we're just getting away with it now (because it just doesn't happen much in practice)?

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


More information about the lldb-commits mailing list