Launch Stack Trace
(Java Web Start Application)
A thread dump is an invaluable source of information to Java developers when investigating deadlocks and some performance issues. It is a textual dump of all active threads and monitors of Java apps running in a Virtual Machine.
The ways to generate a thread dump differ depending on the platform:
- Windows systems
- Press Ctrl-Break in the command console you used to start your application.
When you don't have a console window your only alternative is Stack Trace. It can get thread dumps from applications started with javaw or running as Windows services
- Press Ctrl-Break in the command console you used to start your application.
- Unix systems
- Press Ctrl-\ in the terminal console you used to start your application.
Alternatively, you can also generate a thread dump by sending the QUIT signal to the Java VM running your application
kill -QUIT process_idwhere process_id is the process number of the respective java process.
- Press Ctrl-\ in the terminal console you used to start your application.
Stack Trace Features:
- Simple Post-Mortem Debugging in any JPDA compatible IDE (Eclipse, IntelliJ, JBuilder, etc.)
- Thread dump for Java process running as a Windows service or started with javaw.exe ( Sun and IBM JDKs only). Linux and Solaris support for processes started with nohup, on background, or from a /etc/rc.d script coming soon.
- Opens a console window for applications started with javaw or embedded in a native process so the output from System.out.println can be seen.
Windows NT 4.0 users may need to install msvcp60.dll from http://support.microsoft.com/default.aspx?scid=kb;en-us;259403