[Lldb-commits] [lldb] r311590 - Log whether we found a step out plan or not.

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 23 12:40:21 PDT 2017


Author: jingham
Date: Wed Aug 23 12:40:21 2017
New Revision: 311590

URL: http://llvm.org/viewvc/llvm-project?rev=311590&view=rev
Log:
Log whether we found a step out plan or not.

Modified:
    lldb/trunk/source/Target/ThreadPlanStepInRange.cpp

Modified: lldb/trunk/source/Target/ThreadPlanStepInRange.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/ThreadPlanStepInRange.cpp?rev=311590&r1=311589&r2=311590&view=diff
==============================================================================
--- lldb/trunk/source/Target/ThreadPlanStepInRange.cpp (original)
+++ lldb/trunk/source/Target/ThreadPlanStepInRange.cpp Wed Aug 23 12:40:21 2017
@@ -191,8 +191,12 @@ bool ThreadPlanStepInRange::ShouldStop(E
       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.");




More information about the lldb-commits mailing list