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:

  1. run application
  2. use in specific way (ie. replicate bug) & close it
  3. determine methods , lines of code executed
  4. 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"

recording coverage of manual test session


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -