Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How-to log execution order of a C# application [duplicate]

Possible Duplicate:
How can I add a Trace() to every method call in C#?

Is there an easy way to log all called functions (in order of execution, also passed argument values to these f-ns) in a C# application while it is being executed in debug mode in VS2010? For example, I press some button on my form, some complex code is invoked. Now I want to see what functions in what classes with what arguments.

Note that adding debug/trace info to functions is not an option!

like image 707
mmierins Avatar asked Jun 13 '11 17:06

mmierins


1 Answers

IntelliTrace in VS2010

http://msdn.microsoft.com/en-us/library/dd264915.aspx

http://msdn.microsoft.com/en-us/magazine/ee336126.aspx

like image 88
Marc Gravell Avatar answered Nov 14 '22 04:11

Marc Gravell