问题
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?
Thanks!
回答1:
VisualVM 1.3+ shows local variables in the thread dump.
来源:https://stackoverflow.com/questions/4097755/visualvm-stack-variable-values-when-doing-a-thread-dump