Call Tree?  
Author Message
RainmanRam





PostPosted: Visual C# IDE, Call Tree? Top

Is there any way to display a solution's call tree in the IDE

Thanks,
Ray


Visual C#16  
 
 
dkocur2





PostPosted: Visual C# IDE, Call Tree? Top

Debug \ Windows \ Call Stack

The Debug menu only appears while you're debugging.

 
 
RayManning





PostPosted: Visual C# IDE, Call Tree? Top

I'm not looking for a stack. I'm looking for a tree. A Call Tree is a static (non-runtime) tree which shows the calling structure of a program. It shows every call made by every routine in a tree format.

Unlike a call stack, which is linear, a call tree is two dimentional and allows you to determine all the calls a method makes and all the methods that a call a method.

- Ray

 
 
dkocur2





PostPosted: Visual C# IDE, Call Tree? Top

Haven't seen that since VS6.  Closest thing I could find is right-click "Find All References".

 
 
kk302999





PostPosted: Visual C# IDE, Call Tree? Top

Customize the menu, select the Commands tab, select category 'View', and its called 'Call Browser'


 
 
RayManning





PostPosted: Visual C# IDE, Call Tree? Top


The 'call browser' is on the right track. I've added to my View menu but can't get it to do anything. I can bring up the window but can't seem to populate it. I tried entering in method names and fully qualified method names for the search criteria and nothing appears and I receive no errors. How do I wire the command into the UI

Thanks,
Ray

 
 
Anson Horton





PostPosted: Visual C# IDE, Call Tree? Top

Ray,

The call browser is currently only available in C++ projects (C# and VB do not populate it).  It's a feature several people have requested and we're tracking for a future version of the product.  Would it meet your needs the way it is designed currently assuming that C# started populating it

Thanks,
Anson Horton
C# IDE PM

 
 
RayManning





PostPosted: Visual C# IDE, Call Tree? Top


It would be a good start.

I would expect to see the call commmands when right clicking on a method in the class view in parrallel with find all references.

It would also be nice to be able to find all methods which are NOT called within an assembly/project. This would be a helpful refactoring tool when jerking code around or pruning it. This can be manually done today with "find all references" but it should be automated.

It would be nice to see a graphical repesentation of the graph similar to the object diagrams to get a quick overview of program structure and dependencies as well. I

Thanks,
Ray

 
 
kk302999





PostPosted: Visual C# IDE, Call Tree? Top

I second all of that.


 
 
Don Stewart





PostPosted: Visual C# IDE, Call Tree? Top

This would be Fantastic!
Especially a graphical view

 
 
PSvahn





PostPosted: Visual C# IDE, Call Tree? Top

It was a little bit of a disappointment not to see this as one of the new C# features in VS2005. Are there any current plans to make it available in C#, VB etc

Regards,
Peter svahn



 
 
KSchlueter





PostPosted: Visual C# IDE, Call Tree? Top

What are the latest plans for making this available with C# and VB I greatly appreciate this feature under C/C++ and I miss it while working in C#.