diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2017-01-10 05:36:51 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2017-01-10 05:36:51 -0500 |
commit | c881bb1370be0ecf5b8a19cfaa6ed17e24d21ca2 (patch) | |
tree | 7cd0d2d19510f3435285ba8a860fad9ad1ab9911 /coverage/debug.py | |
parent | 6d5ebb6b653b9551c78383e23309860f1f650ba3 (diff) | |
download | python-coveragepy-git-c881bb1370be0ecf5b8a19cfaa6ed17e24d21ca2.tar.gz |
Clarify the aspectlib example
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 91ccba77..5ffed39d 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. |