From 78f7a3e394f1b31b9a2f87759ae09138453e1f30 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 10 Jan 2017 05:36:51 -0500 Subject: Clarify the aspectlib example --- coverage/debug.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'coverage/debug.py') 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. -- cgit v1.2.1