summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-05-22 17:10:08 -0400
committerNed Batchelder <ned@nedbatchelder.com>2022-05-22 17:10:08 -0400
commitc7395644b8e900130251c1858079cea89964d659 (patch)
tree5ef1ecbf72c6b91dcd1b35040a0638753c97252d
parent439ccadb55cb5509bae0aea3da8307768ab6c5b5 (diff)
downloadpython-coveragepy-git-c7395644b8e900130251c1858079cea89964d659.tar.gz
docs: add a note about using --debug=trace to debug No Data. #1379
-rw-r--r--doc/cmd.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/cmd.rst b/doc/cmd.rst
index 25deeea4..e2a60fc2 100644
--- a/doc/cmd.rst
+++ b/doc/cmd.rst
@@ -260,6 +260,9 @@ No data was collected (no-data-collected)
This could be because you asked to measure only modules that never ran,
or for other reasons.
+ To debug this problem, try using ``run --debug=trace`` to see the tracing
+ decision made for each file.
+
Module XXX was previously imported, but not measured (module-not-measured)
You asked coverage.py to measure module XXX, but it had already been imported
when coverage started. This meant coverage.py couldn't monitor its