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

前端 未结 3 1823
情歌与酒
情歌与酒 2020-12-18 12:29

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 ther

3条回答
  •  旧时难觅i
    2020-12-18 12:46

    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

提交回复
热议问题