Listen Dialog
The Listen Dialog is displayed from the
Target menu in the Menu Bar.
The Listen Dialog allows the debugger to listen (wait) for a connection from an executing
target JVM. The debugger must be already listening before the target tries to connect.
There are two possible ways (connectors) to listen (each displayed as a tab):
- shared memory - the debugger and the target
JVM must be executing on the same computer. Communication is by shared memory, which
is faster than by a network socket. Thus shared memory is preferable for local debugging if it
is supported by the JDK on your computer platform.
- network socket - allows remote debugging.
The debugger and the
target JVM can be executing on the same machine or on different computers connected by a network.
Here are instructions
on how to invoke
the target JVM in order to allow the debugger to listen (wait) for a connection from the target.
The Connectors Dialog lists available connectors.
The Target Info Dialog gives information about the target JVM
once the debugger is connected.
buttons
- OK - listens (waits) for a target
JVM to connect to the debugger using the parameters of the top tab.
A Listening Dialog will be displayed showing that the debugger is waiting
for a connection.
Click on the Stop Listening button to cause the debugger to stop listening for
a connection. The Listening Dialog will automatically be closed when a connection is made.
If there is an error, an error message dialog will be displayed.
- Cancel - closes the dialog without
listening for a target JVM. Hitting the Escape key also closes this dialog.
- Help - displays this Help.
©2001-2010. debugtools.com LLC. All rights reserved.