While debugging Java EE applications, I can’t see full stacktrace I see just a generic exception log; I’m looking details from Chrome Developer Tools or Firebug.
How can I see full stacktrace at Debugger panel of IntelliJ Idea 11?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to check if exception is logged in any of the Tomcat log files. Note that IDEA runs Tomcat with modified CATALINA_BASE, so you should look for the logs under
%SYSTEM%\tomcat\tomcat_SEMIRANDOM_PART\logs\directory, where%SYSTEM%is IDEA system directory which depends on OS and IDEA version.If you see your exception logged there, configure this log file in IDEA Run configuration, Logs tab. You’ll see a separate tab in IDEA with the contents of the configured server log.
If it’s not logged there, you need to adjust the default logging of your Tomcat server or your web application. The latter would depend on the specific logging framework.
If your app is using customized logging it’s very possible that the default logging pattern doesn’t include full stacktraces. It’s also possible that your app doesn’t log the exception completely, just the error text. In this case you will need to change the code of your application so that it logs the exception stacktrace.