Skip to content

Commit 1a1a557

Browse files
committed
fixup! clang-format
1 parent 4a0d13e commit 1a1a557

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lldb/source/Target/Process.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4295,6 +4295,12 @@ bool Process::ProcessEventData::ShouldStop(Event *event_ptr,
42954295
// appropriately. We also need to stop processing actions, since they
42964296
// aren't expecting the target to be running.
42974297

4298+
// Clear the selected frame which may have been set as part of utility
4299+
// expressions that have been run as part of this stop. If we didn't
4300+
// clear this, then StopInfo::GetSuggestedStackFrameIndex would not
4301+
// take affect when we next called SelectMostRelevantFrame. PerformAction
4302+
// should not be the one setting a selected frame, instead this should be
4303+
// done via GetSuggestedStackFrameIndex.
42984304
thread_sp->ClearSelectedFrameIndex();
42994305

43004306
// FIXME: we might have run.

0 commit comments

Comments
 (0)