Reputation: 1694
When debug application, it may be usefull to see in what sequence methods are called. It is possible to write Debug.WriteLine("Called MethodName") in earch method but there are big number of methods in my project.
Is there tool that logging method calls?
Upvotes: 5
Views: 8421
Reputation: 27890
Runtime Flow (developed by me) shows all function calls in a .NET application.
Upvotes: 7
Reputation: 22001
You could use an AOP (aspect oriented programming) framework to make your life a bit easier.
There is a worked example of how to use PostSharp to log method calls here: http://www.codeproject.com/Articles/337564/Aspect-Oriented-Programming-Using-Csharp-and-PostS
Upvotes: 0
Reputation: 101604
As mentioned in a comment, the Visual Studio Call Stack window already implements this.
However, if you really wanted more information you can always look in to adding Tracing information.
Upvotes: 1