diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2022-05-22 17:10:08 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-05-22 17:10:08 -0400 |
commit | c7395644b8e900130251c1858079cea89964d659 (patch) | |
tree | 5ef1ecbf72c6b91dcd1b35040a0638753c97252d | |
parent | 439ccadb55cb5509bae0aea3da8307768ab6c5b5 (diff) | |
download | python-coveragepy-git-c7395644b8e900130251c1858079cea89964d659.tar.gz |
docs: add a note about using --debug=trace to debug No Data. #1379
-rw-r--r-- | doc/cmd.rst | 3 |
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 |