Return to Introduction  Previous page  Next page




Enter class name to debug:

Type the fully qualified class name to debug, followed by any arguments. The class must have a method declared with the following signature:

public static void main(String[]); 

The debugger calls this method on the class you name. In the example above, the three parameters 1, 2 and 3 are passed to the method.

Enter any runtime variables below:

Type any required command line options to the Java Virtual Machine.

You also must provide a parameter (jre) that is a path to be searched for the jvm.dll. This is the  DLL supplied as part of the Java runtime environment or Java JDK from Sun MicrosystemsTM (see Profiling and Debugging).

In the example above, a VM is created with a new class path property that comprises any paths named in the environment variable CLASSPATH plus the single path "c:\debugging\java\example".

If no class path is specified, the debugger always creates the VM with a class path property equal to any path contained in the environment variable plus the path entered in the default working directory of this script.

Show Console:

Select the checkbox to create a console window for Java. If no console window is required, leave blank.

Use Debugger:

Click on the drop-down arrow and select Java.