[英]Eclipse: Find call tree of a method
I know that Ctrl + Shift + G gives an output of all the methods that call directly the method I'm searching for. 我知道Ctrl + Shift + G给出了直接调用我要搜索的方法的所有方法的输出。 But how can I find the whole tree and not just the caller method.
但是我如何才能找到整个树,而不仅仅是调用者方法。 I want to output the whole call chain of a method (caller's caller etc), from the method it first started until the one I'm searching for.
我想输出一个方法(调用方的调用方等)的整个调用链,从它最初启动的方法一直到我要搜索的方法。
选择所需的方法,然后按ctrl+Alt+H
You should use Ctrl + ALT + H
. 您应该使用
Ctrl + ALT + H
Try it. 试试吧。
我认为Ctrl + Alt + h
是“ Open Call Hierarchy
。
甚至更好-尝试按Ctrl + Shift + L并探索所有可能性;)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.