문제

I'm currently facing a large piece of legacy code which I have to understand and rewrite to make it more maintainable.

Is there a tool that would show let me explore easily the graph of the function calls in the file ?

Any text output like

Method1
    Method2
    Method3

Method2
    Method3

Or graphical like

Graph

could help a lot.

도움이 되었습니까?

해결책

Resharper allows your to inspect incoming or outgoing calls to a method.

I don't know of a way to do this in visual studio without a plugin.

Also, NDepend might be an option for you as well. I've never used it, but it looks like it can do what you're requesting.

다른 팁

Visual Studio's Generate sequence diagram?

http://weblogs.asp.net/gunnarpeipman/archive/2009/11/20/visual-studio-2010-generating-sequence-diagrams-on-the-fly.aspx

Maybe that is only in Ultimate edition. But you can download trial of it from Microsoft Servers.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top