Oracle® Solaris Studio 12.4: Debugging a Program With dbx

Exit Print View

Updated: January 2015
 
 

Starting to Debug a Java Application

    You can use dbx to debug the following types of Java applications:

  • A file with a file name that ends in .class

  • A file with a file name that ends in .jar

  • A Java application that is started using a wrapper

  • A running Java application that was started in debug mode to which you attach dbx

  • A C application or C++ application that embeds a Java application using the JNI_CreateJavaVM interface

dbx recognizes that it is debugging a Java application in all of these cases.