research!rsc: Differential Coverage for Debugging
Differential Coverage for Debugging
Posted on Friday, April 25, 2025.
I have been debugging some code I did not write and was reminded of this technique.
I’m sure it’s a very old debugging technique (like bisection),
but it should be more widely known.
Suppose you have one test case that’s failing.
You can get a sense of what code might be involved by comparing the code coverage
of successful tests with the code coverage of the failing test.
For example, I’ve inserted a bug into my development c...
Read more at research.swtch.com