views:

36

answers:

3

How can I view a JWS apps stack trace?

+1  A: 

If it's Java Web Start you are referring to then you need to go into your Java settings and turn the console on. (Set it to "Always" show.) Next time you click the JNLP then the console will launch and you can see whatever your app is dumping.

PSpeed
A: 

I believe the stack trace will also print to the console if you run the JNLP from the command line.

spork
A: 

Also note that in Java 6 you can programatically generate a complete thread dump which can then be printed to System.out.

Thorbjørn Ravn Andersen