Uses of Interface
com.sun.jdi.VirtualMachine
Packages that use VirtualMachine
Package
Description
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.
This package defines connections between the virtual machine
using the JDI and the target virtual machine.
Provides implementation support for building JShell execution engines.
-
Uses of VirtualMachine in com.sun.jdi
Subinterfaces of VirtualMachine in com.sun.jdiModifier and TypeInterfaceDescriptioninterfaceA virtual machine which searches for classes through pathsMethods in com.sun.jdi that return VirtualMachineModifier and TypeMethodDescriptionVirtualMachineManager.createVirtualMachine(Connection connection) Creates a new virtual machine.VirtualMachineManager.createVirtualMachine(Connection connection, Process process) Create a virtual machine mirror for a target VM.Mirror.virtualMachine()Gets the VirtualMachine to which this Mirror belongs.Methods in com.sun.jdi that return types with arguments of type VirtualMachineModifier and TypeMethodDescriptionVirtualMachineManager.connectedVirtualMachines()Lists all target VMs which are connected to the debugger. -
Uses of VirtualMachine in com.sun.jdi.connect
Methods in com.sun.jdi.connect that return VirtualMachineModifier and TypeMethodDescriptionListeningConnector.accept(Map<String, ? extends Connector.Argument> arguments) Waits for a target VM to attach to this connector.AttachingConnector.attach(Map<String, ? extends Connector.Argument> arguments) Attaches to a running application and returns a mirror of its VM.LaunchingConnector.launch(Map<String, ? extends Connector.Argument> arguments) Launches an application and connects to its VM. -
Uses of VirtualMachine in jdk.jshell.execution
Methods in jdk.jshell.execution that return VirtualMachineModifier and TypeMethodDescriptionJdiDefaultExecutionControl.JdiStarter.TargetDescription.vm()Returns the value of thevmrecord component.protected VirtualMachineJdiDefaultExecutionControl.vm()protected abstract VirtualMachineJdiExecutionControl.vm()Returns the JDIVirtualMachineinstance.JdiInitiator.vm()Returns the resultingVirtualMachineinstance.Methods in jdk.jshell.execution with parameters of type VirtualMachineModifier and TypeMethodDescriptionstatic voidUtil.detectJdiExitEvent(VirtualMachine vm, Consumer<String> unbiddenExitHandler) Monitor the JDI event stream forVMDeathEventandVMDisconnectEvent.protected ReferenceTypeJdiExecutionControl.referenceType(VirtualMachine vm, String name) Returns the JDIReferenceTypecorresponding to the specified class name.Constructors in jdk.jshell.execution with parameters of type VirtualMachineModifierConstructorDescriptionTargetDescription(VirtualMachine vm, Process process) Creates an instance of aTargetDescriptionrecord class.