[Lldb-commits] [lldb] r192518 - Report the summed hit count in the breakpoint line.

Jim Ingham jingham at apple.com
Fri Oct 11 17:40:03 PDT 2013


Author: jingham
Date: Fri Oct 11 19:40:02 2013
New Revision: 192518

URL: http://llvm.org/viewvc/llvm-project?rev=192518&view=rev
Log:
Report the summed hit count in the breakpoint line.

<rdar://problem/15183226>

Modified:
    lldb/trunk/source/Breakpoint/Breakpoint.cpp

Modified: lldb/trunk/source/Breakpoint/Breakpoint.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Breakpoint/Breakpoint.cpp?rev=192518&r1=192517&r2=192518&view=diff
==============================================================================
--- lldb/trunk/source/Breakpoint/Breakpoint.cpp (original)
+++ lldb/trunk/source/Breakpoint/Breakpoint.cpp Fri Oct 11 19:40:02 2013
@@ -559,7 +559,7 @@ Breakpoint::GetDescription (Stream *s, l
         {
             s->Printf(", locations = %" PRIu64, (uint64_t)num_locations);
             if (num_resolved_locations > 0)
-                s->Printf(", resolved = %" PRIu64, (uint64_t)num_resolved_locations);
+                s->Printf(", resolved = %" PRIu64 ", hit count = %d", (uint64_t)num_resolved_locations, GetHitCount());
         }
         else
         {





More information about the lldb-commits mailing list