Eugeniy  Maksimov
Eugeniy Maksimov

Reputation: 1694

Is there a tool for Visual Studio which can show the list of all called functions?

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

Answers (3)

Sergey Vlasov
Sergey Vlasov

Reputation: 27890

Runtime Flow (developed by me) shows all function calls in a .NET application.

Upvotes: 7

paul
paul

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

Brad Christie
Brad Christie

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

Related Questions