Debug page (Project 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.
Smart step
This is a feature of JBuilder Professional and Enterprise.
Sets options for Smart Step.
Enable Smart Step
Turns the Smart Step options on and off.
Skip synthetic methods
Skips synthetic methods when stepping into classes.
Skip static initializers
Skips static initializers when stepping into classes.
Skip constructors
Skips constructors 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.
Remote Debugging
These are features of JBuilder Enterprise.
Tells the debugger that the application will be debugged remotely. For more information, see "Debugging distributed applications."
Enable Remote Debugging
Turns the remote debugging feature on and off.
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 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:
- Type: Either dt_socket (socket transport) or dt_shmem (shared memory transport - not available on Unix systems). For more information on transport methods, see "JPDA: Connection and Invocation Details - Transports."
- Address:
- If the Transport Type is set to dt_socket, this parameter holds the port number for the remote computer you are communicating with. Use the default port number,
5000.
Change this value only if the default value is in use. This value must match the address parameter to the Java VM that starts the program on the remote computer. See Step 2 earlier in this section.
- If dt_shmem is selected as the Transport Type, set the Address parameter to the unique name for the remote computer you are communicating with. The default is
javadebug.