Eclipse:查找方法的调用树 [英] Eclipse: Find call tree of a method

查看:272
本文介绍了Eclipse:查找方法的调用树的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道 Ctrl + Shift + G 给出了直接调用我要搜索的方法的所有方法的输出。但是我如何才能找到整个树,而不仅仅是调用者方法。我想输出一个方法(呼叫者的呼叫者等)的整个调用链,从它最初启动的方法到我要搜索的方法。

I know that Ctrl + Shift + G gives an output of all the methods that call directly the method I'm searching for. 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

Select the method what you want and press ctrl+Alt+H

这篇关于Eclipse:查找方法的调用树的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆