Skip to content

Commit

Permalink
docs: add a note about using --debug=trace to debug No Data. #1379
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed May 22, 2022
1 parent 439ccad commit c739564
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/cmd.rst
Expand Up @@ -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
Expand Down

0 comments on commit c739564

Please sign in to comment.