[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
Fri Mar 28 08:44:56 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:

I see, yea it would be pretty unusual for two bits of LLDB to try to control this. Could be called concurrently `ProcessEventData::ShouldStop` and access the same `StackFrameList` somehow?

I added your explanation as to why we might not need synchronization to the member documentation.

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


More information about the lldb-commits mailing list