Java – JStack
When reviewing \ debugging a Java Application, one can try using “JStack”.
JStack principally displays the StackTrace for each thread in an Application.
Listed below are a few well written coverage of this important tool.
1) Fun with JStack
2) How to take Thread Dumps from a JVM
3) JStack / Oracle
4) Building a JStack Profiler
5) What are good Java Profiling Tools
Couple of areas to keep in mind:
- On a Windows box running a 64-bit OS, you will not be able to “connect” to a 32-bit App running under WOW64.
If you try to, you will get an error message similar to “Unable to attach to 32-bit process running under WOW64”