Skip to content

Commit a7b6bd3

Browse files
committed
fixup! clang-format
1 parent 91110b8 commit a7b6bd3

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
@@ -4257,6 +4257,12 @@ bool Process::ProcessEventData::ShouldStop(Event *event_ptr,
42574257
// appropriately. We also need to stop processing actions, since they
42584258
// aren't expecting the target to be running.
42594259

4260+
// Clear the selected frame which may have been set as part of utility
4261+
// expressions that have been run as part of this stop. If we didn't
4262+
// clear this, then StopInfo::GetSuggestedStackFrameIndex would not
4263+
// take affect when we next called SelectMostRelevantFrame. PerformAction
4264+
// should not be the one setting a selected frame, instead this should be
4265+
// done via GetSuggestedStackFrameIndex.
42604266
thread_sp->ClearSelectedFrameIndex();
42614267

42624268
// FIXME: we might have run.

0 commit comments

Comments
 (0)