File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1664,8 +1664,10 @@ void Debugger::HandleProcessEvent(const EventSP &event_sp) {
1664
1664
1665
1665
// Display running state changes first before any STDIO
1666
1666
if (got_state_changed && !state_is_stopped) {
1667
+ // This is a public stop which we are going to announce to the user, so
1668
+ // we should force the most relevant frame selection here.
1667
1669
Process::HandleProcessStateChangedEvent (event_sp, output_stream_sp.get (),
1668
- DoNoSelectMostRelevantFrame ,
1670
+ SelectMostRelevantFrame ,
1669
1671
pop_process_io_handler,
1670
1672
// BEGIN SWIFT
1671
1673
pop_command_interpreter
@@ -1709,7 +1711,7 @@ void Debugger::HandleProcessEvent(const EventSP &event_sp) {
1709
1711
// Now display any stopped state changes after any STDIO
1710
1712
if (got_state_changed && state_is_stopped) {
1711
1713
Process::HandleProcessStateChangedEvent (event_sp, output_stream_sp.get (),
1712
- DoNoSelectMostRelevantFrame ,
1714
+ SelectMostRelevantFrame ,
1713
1715
pop_process_io_handler,
1714
1716
// BEGIN SWIFT
1715
1717
pop_command_interpreter
Original file line number Diff line number Diff line change 10
10
# RUN: %lldb -b -s %s %t.out | FileCheck %s
11
11
run
12
12
# CHECK: thread #{{.*}}stop reason = hit program assert
13
- frame info
14
13
# CHECK: frame #{{.*}}`main at assert.c
15
14
frame recognizer info 0
16
15
# CHECK: frame 0 is recognized by Assert StackFrame Recognizer
You can’t perform that action at this time.
0 commit comments