File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments