Jump to content
Excelsior Forums
Sign in to follow this  
baikuo21

exception without stack trace ?

Recommended Posts

printStackTrace()  prints only the exception name.

I specified -genstacktrace+, and jc with =options also listed the option +GENSTACKTRACE

How to make the stack trace available ?

Share this post


Link to post
Share on other sites

Hello,

To enable full stack trace in JET, do the following:

1. Specify +GENSTACKTRACE option in JET project file or jc command line.

2.  Define jet.stack.trace property (add -Djet.stack.trace to -jetvmprop=... option value in project file or specify it in the JET GUI or set JETVMPROP environment variable).

For more information, see JET User's Guide, chapter "Application Considerations", section "Stack trace".

Regards,

AlexM.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×