[tests] Add option to attach a python debugger if functional test fails #11023

pull jnewbery wants to merge 1 commits into bitcoin:master from jnewbery:func_test_pdb changing 1 files +7 −0
  1. jnewbery commented at 4:53 pm on August 10, 2017: member

    Adds a simple option to the test_framework to attach pdb if the test fails.

    Helpful for catching and debugging intermittent failures: Run the test in a loop with this option. The first failure will cause execution to pause and nodes will be left running for interactive debugging. @sdaftuar

  2. Add option to attach a python debugger if test fails cc5d38f4b8
  3. laanwj added the label Tests on Aug 10, 2017
  4. laanwj commented at 5:54 pm on August 10, 2017: member
    This could certainly be useful to inspect state after a test failed, utACK.
  5. sdaftuar commented at 6:10 pm on August 10, 2017: member
    I’m using this right now to debug a test. ACK.
  6. MarcoFalke commented at 4:07 pm on August 11, 2017: member
    utACK cc5d38f4b826b897dd818bb22c7f5d881718fd35
  7. MarcoFalke merged this on Aug 11, 2017
  8. MarcoFalke closed this on Aug 11, 2017

  9. MarcoFalke referenced this in commit bf74d377fb on Aug 11, 2017
  10. PastaPastaPasta referenced this in commit 7f1009ed57 on Aug 2, 2019
  11. PastaPastaPasta referenced this in commit 6560122569 on Aug 6, 2019
  12. barrystyle referenced this in commit c68f21ca9a on Jan 22, 2020
  13. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-01-21 06:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me