llvm-project/lldb/docs/resources
Jonas Devlieghere 0f821339da
[lldb] Add assertStopReason helper function
Add a function to make it easier to debug a test failure caused by an
unexpected stop reason. This is similar to the assertState helper that
was added in ce825e4674.

Before:

  self.assertEqual(stop_reason, lldb.eStopReasonInstrumentation)
  AssertionError: 5 != 10

After:

  self.assertStopReason(stop_reason, lldb.eStopReasonInstrumentation)
  AssertionError: signal (5) != instrumentation (10)

Differential revision: https://reviews.llvm.org/D131083
2022-08-03 11:44:13 -07:00
..
bots.rst [lldb] Update the CI docs 2022-03-02 22:40:05 -08:00
build.rst [lldb] Remove references to epydoc from the documentation 2022-06-16 15:17:40 -07:00
caveats.rst [lldb] Fix typos in documentation (NFC) 2021-03-01 23:40:29 -08:00
contributing.rst [lldb] Fix typos in documentation (NFC) 2021-03-01 23:40:29 -08:00
test.rst [lldb] Add assertStopReason helper function 2022-08-03 11:44:13 -07:00