Debugging a Remote Application
Before you can easily debug remote applications, you must set up your client-side debugging environment. Assuming that you have JBuilder running on the client machine and a JPDA-compliant JDK running on a server, the following processes are necessary:
Launch the remote application using debug settings.
Copy the remote application files to the client.
Set up a runtime configuration for the remote server.
Set breakpoints in the code.
Launch the Remote Application Using the Debug Setting
If your server is running a JPDA-compliant JDK, the following command line shows a command for starting your server application so that it can be remotely debugged:
java –Xdebug –Xnoagent –Djava.compiler=NONE –Xrunjdwp:transport=dt_socket,server=y, ...
Get Borland® JBuilder™ Developer’s Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.