Debug page (Project Properties/Runtime Properties dialog box)

The Debug page of the Project Properties dialog box sets debugging options. To set these options for the current project, choose Project|Project Properties.

To set these options for all new projects, choose Project|Default Project Properties.

There are several ways to display this page:

When you display this page from the Runtime Configurations dialog box, the Configuration Name field is displayed at the top of the page. (The Runtime Configurations dialog box is a feature of JBuilder Professional and Enterprise.)

Enable Smart Step

This is a feature of JBuilder Professional and Enterprise.

Turns the Smart Step options on and off. When on, these options configure Smart Step.

Smart Step settings

Skip synthetic methods

Skips synthetic methods when stepping into classes.

Skip constructors

Skips constructors when stepping into classes.

Skip static initializers

Skips static initializers when stepping into classes.

Warn if break in class with tracing disabled

Displays a warning message if there is a breakpoint in a class that has tracing disabled. (Only available with Enable Smart Step is on.) See the F1 Help topic, "Stopped In Class With Tracing Disabled dialog box" for more information.

Enable Remote Debugging

These are features of JBuilder Enterprise.

Turns the remote debugging feature on and off.

When on, instructs the debugger that the application will be debugged remotely. For more information, see "Debugging distributed applications."

Remote settings

Launch

Causes the debugger to launch the application on the remote computer, using JBuilder's remote debug server. (The debug server must be configured and running on the remote computer.) For more information, see "Launching and debugging a program on a remote computer."

The following options are enabled if Launch is selected.

Host Name
The name of the remote computer. localHost is the default. You may need to check the network settings on the remote computer to find the host name.
Port Number
The port number for the remote computer you are communicating with. Use the default port number, 18699. Change this value only if the default value is in use. Valid values are from 1024 to 65535. This value must match the -port parameter for the Debug Server on the remote computer. See Step 4 in the previous section.
Remote Classpath
The classpath where the compiled .class files for the application that you are remotely debugging can be found. This field works like other classpath fields - if the classes are in a package, specify the root of the package and not the directory containing the classes. On Windows systems, specify the drive letter. This remote classpath only applies to this debugging session.
Remote Working Directory
The working directory on the remote computer. On Windows systems, specify the drive letter. This remote working directory only applies to this debugging session.

Note: The working directory is not supported in JDK 1.2.2. If your remote computer is running JDK 1.2.2 and you enter a remote working directory, the debugger will display the following warning in the Console output, input, and errors view:

Warning: working directory is not supported in java version "1.2.2"
Transport
The transport type: Either dt_shmem (shared memory transport - not available on Unix systems) or dt_socket (socket transport). For more information on transport methods, see "JPDA: Connection and Invocation Details - Transports"

Attach

Causes the debugger to attach to an application already running on the remote computer. For more information, see "Debugging a program already running on the remote computer"

The following options are enabled if Attach is selected.

Host Name
The name of the remote computer. localHost is the default. You may need to check the network settings on the remote computer to find the host name.
Transport
The transport method options: