为动态调用的方法生成调用层次结构
当今的动态调用、反射和运行时注入的世界与 ctags 等传统工具无法很好地配合, doxygen 和 CDOC。
我正在寻找一种可以显示静态和动态方法调用的方法调用层次可视化工具。它应该易于使用,在执行过程中轻便,并提供有关记录的运行时会话的有用的详细信息。
的有效解决方案。
现在我猜 Callgrind 可以被认为是 C系列 工具/技术 您能否建议为基于 JVM 的字节码的静态和动态方法调用创建调用图?预期的最终结果是图形显示(最好是交互式的),它可以显示从 main() 到调用的每个方法的路径。
在研究这篇文章的过程中,我偶然发现了javashot,似乎这就是这种方法我的目标是,我希望将其集成到一种分析器或类似工具中,而不是可以在我的 IDE(Eclipse、IntelliJ、Netbeans 等)中使用。
谢谢你, 格言。
Today's world of dynamic invoke, reflection and runtime injection just doesn't play well with traditional tools such as ctags, doxygen and CDOC.
I am searching for a method call hierarchy visualization tool that can display both static and dynamic method invocations. It should be easy to use, light during execution and provide helpful detailed information about the recorded runtime session.
Now I guess Callgrind could be considered a valid solution for the family C.
What tool / technique could you suggest to create a call graph for both static and dynamic method invocation for JVM based bytecode? The intended end result is a graphical display (preferably interactive) which can show path from main() to each method that was invoked.
During research for this post I stumbled upon javashot, it seems that this is the kind of approach I'm aiming at, I would prefer that this would be integrated into a kind of profiler or alike which than can be used from within my IDE (Eclipse, IntelliJ, Netbeans and alike).
Thank you,
Maxim.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
大多数 Java 分析器都会这样做。 JProfiler 做得特别好,通过显示调用图是一个非常好的方法。用户可访问的方式。
Most Java profilers do this. JProfiler does it particularly well, by showing the call graph is a very user accessible way.