Alex Rivera | Logout

java stack dump on windows

Asked 2010-01-23T20:51:50.040
27

I have a running java process in a standard windows command window. ie i have run 'cmd' and typed in java -jar ...

I need to be able to get a full stack dump of all threads if at all possible.

i remember that under linux you can send a message to the JVM via an option on the quit command.

in this document sun state

To generate a stack trace on Windows 95, or Windows NT platforms, enter the key sequence in the window where the Java program is running, or click the Close button on the window.

this is clearly wrong, as closing the terminal does nothing but kill the process and close the window.

Edit
Report

1 Answer

1
answered 2010-01-23T21:03:49.807

Your Answer