If you do not want to worry about paying / setting Cover, itβs much easier :
- remove / disable all breakpoints
- set a breakpoint on the line that you recognize when testing.
- re-run tests in debug mode
- look at the stack to find the call calling it
These methods also allow you to see how many times the line is covered, and all the tests that call it.
source share