Java line-by-line Method/Function Profiling - Profiler &/or Eclipse Plugin [closed]

霸气de小男生 提交于 2019-11-29 03:20:09

JProfiler has line number resolution. It's not enabled by default, but if you edit the profiling settings, there's a check box named "Record line numbers and show them in the call tree" on the "Method call recording" tab:

Disclaimer: My company develops JProfiler.

In dynaTrace you can do something similar by instrumenting all invoked methods, however it is a commercial tool. Alternatively, you could write your own instrumenting tool using for example ASM (but it is extremely tedious :( )

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!