Log whether we found a step out plan or not.

llvm-svn: 311590
This commit is contained in:
Jim Ingham 2017-08-23 19:40:21 +00:00
parent e3a5e8f03d
commit a4bb80b211
1 changed files with 6 additions and 2 deletions

View File

@ -191,8 +191,12 @@ bool ThreadPlanStepInRange::ShouldStop(Event *event_ptr) {
if (!m_sub_plan_sp) {
// Otherwise check the ShouldStopHere for step out:
m_sub_plan_sp = CheckShouldStopHereAndQueueStepOut(frame_order);
if (log)
log->Printf("ShouldStopHere says we should step out of this frame.");
if (log) {
if (m_sub_plan_sp)
log->Printf("ShouldStopHere found plan to step out of this frame.");
else
log->Printf("ShouldStopHere no plan to step out of this frame.");
}
} else if (log) {
log->Printf(
"Thought I stepped out, but in fact arrived at a trampoline.");