Advanced Find Usages. Trace Interractions?

When diffing in code, some times I need to execute find usages many times to
trace interactions between classes or things as simple as see where a
variable is changed directly or indirectly and where those methods which
change it are called ...

I wonder if it might be a good idea to implement some sort of interaction
tracing facility? What do you think?


1 comment
Comment actions Permalink

How would this differ from View->Call Hierarchy (CtrlAltH) ?

I often do the the same thing you are describing. Find Usages on one method, and then do Find Usges on each of those Methods.

I think it would be nice to have Find Usage allow you to due the Find Usages on each method in the current Find Usages result and embed it in the Reesults Tree, the same as how View->Call Hierarchy works. Sometimes when there are many methods or levels I have to trace back, it can get confusing with all of the Find Usages Results tabs. I think it would be easier to keep track of in a single tab.

But I'm not sure how you would show both the line of code where the method2 called method1 and also show all the callers of method2.


Please sign in to leave a comment.