Search code examples
c#.netexecution

How to compare execution paths in .NET?


I'm debugging into the .NET Framework source code to look for a bug in my application. I have two similar inputs for the code where one exhibits the bug and the other doesn't. However to follow the code path into the .NET source is quite complex.

What I'd like is a tool that can be executed for both inputs and compare the results to see what code paths are taken, how the internal values differ, etc...

Is this available for .NET?


Solution

  • You could try nCover. It can show you code coverage information which might help you work out which branches are taken when the bug occurs.