Remote debugging tutorial
This tutorial is a feature of JBuilder Enterprise.
About this tutorial
Overview
This step-by-step tutorial shows you how to:
- Use remote debugging features to attach to a program already running on a remote computer.
- Debug using cross-process stepping.
- Use preset configurations to debug both a client and server process.
The tutorial uses the sample project that is provided in the samples/RMI
folder of your JBuilder installation. The sample is an RMI application, created in JBuilder. Before running this tutorial, make sure that you have installed the samples
folder. The instructions in this tutorial assume you're using a Windows computer.
This tutorial assumes the following:
- You are familiar with compiling, running, and debugging. If not, work through the tutorial called "Compiling, running, and debugging." You can also read the following chapters in the online Help book, Building Applications with JBuilder:
- You are familiar with client/server processes in JBuilder.
- You have read the chapter in Developing Distributed Applications called "Debugging distributed applications."
- You are comfortable with DOS windows and with running commands from the command line.
In order to run this tutorial, you need:
- Two computers running on a network. JBuilder must be installed on one; JDK 1.3 must be installed on the other. In this tutorial, the computer with JBuilder will be called the "client" computer. The computer with just the JDK will be called the "remote" computer.
- The name of the remote computer. This name is usually set up by the network administrator.
- A way to transfer files from the client computer to the remote computer.
Note: To run the sample without debugging it, follow the instructions in the project's HTML file, SimpleRMI.html.