c# - Find which (unique) methods were called at runtime? -
i'm trying fix bugs in large c# code base i'm not familiar with, have trouble locating piece of code needs updated (there's no internal documentation , few comments in code)
i love have general technique or procedure whereby could:
- run application
- use in specific way (ie. replicate bug) & close it
- determine methods , lines of code executed
- remove 'initialization' code that's common usage of app
i've tried looking @ code coverage results dotcover, wasn't helpful because ton of code gets invoked @ beginning launch app. great if remove 'common code' , see coverage results past point in execution.
i remembered dotcover lets "re-start" profiling @ arbitrary point of execution. solution looking given directly in manual:
"click drop snapshot in dotcover controller dialog box clear coverage results, , click start profiling restart test session"
Comments
Post a Comment