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.
- Fun with JStack
- How to take Thread Dumps from a JVM
- JStack / Oracle
- Building a JStack Profiler
- 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”