Documentation Contents
Java Platform, Standard Edition Troubleshooting Guide
Contents    Previous    Next

1.3 Gather Relevant Data

If your application runs into a problem and you want to debug the problem further, make sure that you collect any relevant data before restarting the system, especially if restarting will remove previous files.

The following are important files to gather:

If the application has stopped responding, then gather the following files.

1.3.1 Make a Java Application Easier to Debug

Using a logging framework is a good way to enable future debugging. If you run into problems in a specific module, you should be able to enable logging in that module. It is also good to specify different levels of logging, for example info, debug and trace. For details about how to use the java.util.logging framework, see Java Logging Technology.

Contents    Previous    Next

Oracle and/or its affiliates Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.
Contact Us