开发者

reverse query method chain on c# assembly

I want to write some code( or if there is tool that can give thsi info ) that can return chian of methods executed( or called) - giving a starting point ( a fully qualified method name ) as input.

I am hoping this can be done via querying metadata on a dotnet assembly.

thanks for any pointers in advance!

update #1: http://sequenceviz.c开发者_Python百科odeplex.com/ gives ability to generate forward chain of sequence diagram. I am looking into being able to reverse lookup the same info. Like given a method if we can generate reverse graph for all places from where it can be called.


There was similar Question here

Which suggests several option like .Net Reflector, SequenceWiz, nProf. One of these might work for you.


use StackTrace class to get this info. StackTrace information will be most informative with Debug build configurations.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜