Debug page (Runtime Properties dialog box)

The Debug page of the Runtime Properties dialog box sets debugging options for a runtime configuration. To display this page,

  1. Choose Project|Project Properties, then click the Run tab. You can also choose Run|Configurations.
  2. To create a new configuration, click the New button. When the Runtime Properties dialog box is displayed, click the Debug tab.
  3. To edit an existing configuration, choose a configuration and click the Edit button. When the Runtime Properties dialog box is displayed, click the Debug tab.

Note: Multiple runtime configurations are a feature of JBuilder SE and Enterprise.

Warn If Files Modified

Displays a warning message if files have been modified during the debugging session.

Enable Smart Step

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

Smart Step settings

Skip synthetic methods

This Smart Step setting is a feature of JBuilder SE and Enterprise.

Skips synthetic methods when stepping into classes.

Skip constructors

This Smart Step setting is a feature of JBuilder SE and Enterprise.

Skips constructors when stepping into classes.

Skip static initializers

This Smart Step setting is a feature of JBuilder SE and Enterprise.

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 remote 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: