本文介绍了执行线程转储时VisualVM堆栈变量值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在VisualVM中进行线程转储时,是否可以获取堆栈变量值的视图?目前,我在选择一些jvm进程的线程转储时可以看到的是堆栈跟踪,而不是堆栈帧中的确切变量值。
Is it possible to obtain a view of the values of the stack variables when doing a thread dump in VisualVM? Currently, all that I can see when choosing a thread dump of some jvm process is the stack trace, not the exact variable values in stack frames.
如果没有,是否存在一个(工作)插件,允许人们这样做?
If not, is there a (working) plugin that allows one to do this?
谢谢!
推荐答案
VisualVM 1.3+在线程转储中显示局部变量。
VisualVM 1.3+ shows local variables in the thread dump.
这篇关于执行线程转储时VisualVM堆栈变量值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!