Profile Eclipse RCP with VisualVM

*爱你&永不变心* 提交于 2019-12-10 13:32:03

问题


I am developing an application based on Eclipse RCP. I want to profile specific methods in my application: dropping an element and refreshing sections.

I successfully connected VisualVM launch plugin to Eclipse. After my application ran I executed Profiler from VisualVM and dragged/refreshed some stuff in the application being profiled. At the end, I did not see corresponding methods in the call stack. I cannot find any methods which are responsible for my stuff and I can't do anything.

Why does this happen? If I run VisualVM before the whole application starts - everything seems to be ok. Each method has the correct place in the call stack. I am curious about VisualVM limitations.

来源:https://stackoverflow.com/questions/14607634/profile-eclipse-rcp-with-visualvm

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