[Lldb-commits] [PATCH] D65682: Give a little more info when "run_to_x_breakpoint" fails

Konrad Wilhelm Kleine via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 13 05:41:05 PDT 2019


kwk requested changes to this revision.
kwk added inline comments.
This revision now requires changes to proceed.


================
Comment at: lldb/packages/Python/lldbsuite/test/lldbutil.py:789
+                             signal_threads = signaled)
+        test.fail("Stopped for another reason: Breakpoint: %d Signaled: %d Crashed: %d"%(len(bkpts), len(crashed), len(signaled)))
+
----------------
I think the order of the placeholders is wrong either in the format string or in the arguments. This should work:

```
 test.fail("Stopped for another reason: Breakpoint: %d Signaled: %d Crashed: %d"%(len(bkpts), len(signaled), len(crashed)))
```


Repository:
  rLLDB LLDB

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65682/new/

https://reviews.llvm.org/D65682





More information about the lldb-commits mailing list