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

via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 26 09:35:09 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:

In StackFrameList::Clear we take the m_list_mutex before clearing the selected frame (among other things).  Should we also do that here?

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


More information about the lldb-commits mailing list