com.sun.jdi.connect (Java SE 17 & JDK 17)
Description: declaration: module: jdk.jdi, package: com.sun.jdi.connect
Keywords: com.sun.jdi.connect package

Module jdk.jdi

# Package com.sun.jdi.connect

package com.sun.jdi.connect
This package defines connections between the virtual machine using the JDI and the target virtual machine. In concert with `VirtualMachineManager` it is the mechanism for launching, attaching, etc to target virtual machines.

Methods may be added to the interfaces in the JDI packages in future releases. Existing packages may be renamed if the JDI becomes a standard extension.

- Related Packages
  Package
  Description
  com.sun.jdi
  This is the core package of the Java Debug Interface (JDI), it defines mirrors for values, types, and the target VirtualMachine itself - as well bootstrapping facilities.
  com.sun.jdi.connect.spi
  This package comprises the interfaces and classes used to develop new `TransportService` implementations.
  com.sun.jdi.event
  This package defines JDI events and event processing.
  com.sun.jdi.request
  This package is used to request that a JDI event be sent under specified conditions.
- Class
  Description
  AttachingConnector
  A connector which attaches to a previously running target VM.
  Connector
  A method of connection between a debugger and a target VM.
  Connector.Argument
  Specification for and value of a Connector argument.
  Connector.BooleanArgument
  Specification for and value of a Connector argument, whose value is Boolean.
  Connector.IntegerArgument
  Specification for and value of a Connector argument, whose value is an integer.
  Connector.SelectedArgument
  Specification for and value of a Connector argument, whose value is a String selected from a list of choices.
  Connector.StringArgument
  Specification for and value of a Connector argument, whose value is a String.
  IllegalConnectorArgumentsException
  Thrown to indicate an invalid argument or inconsistent passed to a `Connector`.
  LaunchingConnector
  A connector which can launch a target VM before connecting to it.
  ListeningConnector
  A connector which listens for a connection initiated by a target VM.
  Transport
  A method of communication between a debugger and a target VM.
  TransportTimeoutException
  This exception may be thrown as a result of a timeout when attaching to a target VM, or waiting to accept a connection from a target VM.
  VMStartException
  A target VM was successfully launched, but terminated with an error before a connection could be established.