diff options
Diffstat (limited to 'coverage/debug.py')
-rw-r--r-- | coverage/debug.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/coverage/debug.py b/coverage/debug.py index 91ccba7..5ffed39 100644 --- a/coverage/debug.py +++ b/coverage/debug.py @@ -202,8 +202,9 @@ def enable_aspectlib_maybe(): # pragma: debugging Define COVERAGE_ASPECTLIB to enable and configure aspectlib to trace execution:: - export COVERAGE_LOG=covaspect.txt - COVERAGE_ASPECTLIB=coverage.Coverage:coverage.data.CoverageData program... + $ export COVERAGE_LOG=covaspect.txt + $ export COVERAGE_ASPECTLIB=coverage.Coverage:coverage.data.CoverageData + $ coverage run blah.py ... This will trace all the public methods on Coverage and CoverageData, writing the information to covaspect.txt. |