Setting Up the Debugging Environment

To support remote debugging, the virtual machine (VM) needs to be passed command-line options to turn on the debugging option for that VM. One VM acts as the server and listens for a debug connection. Another VM acts as a client and connects to the server VM.

To negotiate a debugging connection, the client VM needs to know about the server VM. The command-line options for the VM set up the connection properties. Table 26.1 displays a list of the common command-line options.

Table 26.1. Virtual Machine Debug Options
Option Description
-classic Some VMs may not support this option. This option selects the classic VM as opposed to a Just In Time VM.
-Xdebug Enables debugging in the VM.
-Xnoagent Disables the ...

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.