StackTrace is a tool for inspecting the state of a running JVM without starting it in debug mode and without using any additional startup settings.
StackTrace Features:
- Thread dump for Java processes running as a Windows service (like Tomcat, for example), started with javaw.exe, applets running inside any browser or JVMs embedded inside another process. StackTrace works on Windows, Linux and Mac OS X.
- Prints system properties, memory usage, and command line for any Java process.
- Starts a BeanShell interpreter inside a running Java application. StackTrace provides commands for inspecting and modifying live objects, tracking AWT/SWT events, file and network access, deadlock detection and many more.
For information about the additional commands look at the documentation.
IMPORTANT: The security manager is disabled during the time when the interpreter runs. Do not use this feature in production environment! - An alternative to JPDA for bytecode level debugging with a full control on the stack, the local variables, and the execution flow.
- Records and replays user actions. This feature can be used for automating GUI testing or for reporting and reproducing software defects.
- Redefines already loaded classes inside a running VM (Java 6 only.)
- Fault injection testing without modification of the target program code by using the intercept() command (Java 6 only.)