Questions tagged [python-hunter]

Hunter is a code tracing toolkit for python.

From the docs of the python-hunter module:

Hunter is a flexible code tracing toolkit, not for measuring coverage, but for debugging, logging, inspection and other nefarious purposes. It has a simple Python API, a convenient terminal API and a CLI tool to attach to processes.

2 questions
10
votes
2 answers

No output, even with `py.test -s`

I would like to use py.test combined with hunter: PYTHONHUNTER="module_startswith='foo'" py.test -s -k test_bar Unfortunately the output (trace) of hunter is not visible. Version: foo_cok_d@aptguettler:~$ py.test --version This is pytest version…
guettli
  • 25,042
  • 81
  • 346
  • 663
0
votes
1 answer

How to include more than one module in PYTHONHUNTER environment variable

Python Hunter can be activated from command-line like below to trace execution of Python programs. $ PYTHONHUNTER="module='os.path'" python yourapp.py But how to specify more than one module for module filter?
Sivachandran
  • 787
  • 7
  • 21