# Attach Debugger Dialog Box

The Attach Debugger dialog box enables you to specify how the Java debugger attaches or listens to the target VM. You can choose if you want the debugger to attach or listen to the target VM.

In this dialog you need to specify the following properties:

Element | Description
--- | ---
Debugger | Select the debugger.
Connector | Select a connector from the dropdown list based upon how you want to establish a connection to the target VM. The connector that you select determines the properties that you will need to specify in this dialog box.
Transport | (Read-only) This field displays the method of communication between the debugger and the target VM. This field is populated automatically based upon the connector that you select in the Connector dropdown list.
Host | (Optional) Specify the name of the machine that hosts the target VM. You can set this property when you select SocketAttach in the Connector dropdown list.
Name | Name of the shared memory region of the target VM. You must supply the region name when you attach to the target VM via shared memory.
Local Address | (Optional) Address that the listener binds to. You can set this property when you select SocketListen in the Connector dropdown list.
Port | Specify the port that is used to connect to the remote instance. You must specify a port when you attach via socket.
Process ID | Specify the process ID (pid) that is used to connect to the VM. You must specify a process ID to attach to the target VM via ProcessAttach.
Timeout [ms] | (Optional) Specify the length of time to use when attaching to the target VM or while waiting for the target VM to connect.

Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.