Remote debugging tutorial
This tutorial is a feature of JBuilder Enterprise.
In this step, you will set a line breakpoint in the client process and a cross-process breakpoint in the server process. The line breakpoint will cause the client to pause when the cross-process breakpoint is about to be called. The cross-process breakpoint will pause the server. This technique allows you to step into a server process from a client process.
To set a line breakpoint in the client process,
SimpleRMIClient.java
in the project pane. It is opened in the editor.
Date d = myServerObject.getDate();
To set a cross-process breakpoint in the server process,
com
folder and browse to the server implementation class, com.borland.samples.rmi.SimpleRMIImpl.
getDate()
in the Select Method dialog box.
In the next step, you will compile the server and copy the server class files to the remote computer.