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 @@ -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.
You can’t perform that action at this time.
0 commit comments