Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VisualVM stack variable values when doing a thread dump

Tags:

java

jvm

visualvm

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!

like image 259
axel22 Avatar asked Jan 29 '26 10:01

axel22


1 Answers

VisualVM 1.3+ shows local variables in the thread dump.

like image 170
Tomas Hurka Avatar answered Jan 31 '26 23:01

Tomas Hurka



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!