Package com.sun.jdi
package 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.
VirtualMachine
mirrors the target virtual machine and
is the origin of all information provided by the JDI. A VirtualMachine
is typically created by using the
VirtualMachineManager
to create
a connection to the target virtual machine (see the
com.sun.jdi.connect
package). In turn the
VirtualMachineManager
is typically created by calling
Bootstrap.virtualMachineManager()
.
Most of the methods within this package can throw the unchecked exception
VMDisconnectedException
.
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.
- Since:
- 1.3
-
ClassDescriptionThrown to indicate line number or variable information is not available.Provides information on the accessibility of a type or type component.Provides access to an array object and its components in the target VM.Provides access to the class of an array and the type of its components in the target VM.The type of all primitive
boolean
values accessed in the target VM.Provides access to a primitiveboolean
value in the target VM.Initial class that provides access to the default implementation of JDI interfaces.The type of all primitive byte values accessed in the target VM.Provides access to a primitivebyte
value in the target VM.The type of all primitive char values accessed in the target VM.Provides access to a primitivechar
value in the target VM.A class loader object from the target VM.Thrown to indicate that the requested class has not yet been loaded through the appropriate class loader.Thrown to indicate that the requested operation cannot be completed because the specified class has not yet been prepared.An instance of java.lang.Class from the target VM.A mirror of a class in the target VM.The type of all primitive double values accessed in the target VM.Provides access to a primitivedouble
value in the target VM.A class or instance variable in the target VM.The type of all primitive float values accessed in the target VM.Provides access to a primitivefloat
value in the target VM.Thrown to indicate that the requested operation cannot be completed while the specified thread is in its current state.Thrown to indicate that there is an inconistency in the debug information provided by the target VM.The type of all primitiveint
values accessed in the target VM.Provides access to a primitiveint
value in the target VM.A mirror of an interface in the target VM.Thrown to indicate that an unexpected internal error has occurred.Deprecated.This exception is no longer thrownDeprecated.This exception is no longer thrownThrown to indicate that the requested module is invalid or became invalid after the module was unloaded.Thrown to indicate that the requested operation cannot be completed because the specified stack frame is no longer valid.Thrown to indicate a type mismatch in setting the value of a field or variable, or in specifying the return value of a method.Thrown to indicate an exception occurred in an invoked method within the target VM.AJDIPermission
object contains a name (also referred to as a "target name") but no actions list; you either have the named permission or you don't.A local variable in the target VM.A mirror that has aLocation
.A point within the executing code of the target VM.The type of all primitivelong
values accessed in the target VM.Provides access to a primitivelong
value in the target VM.A static or instance method in the target VM.A proxy used by a debugger to examine or manipulate some entity in another virtual machine.A module in the target VM.Information about a monitor owned by a thread.Thrown to indicate an operation cannot be completed because it is not valid for a native method.Thrown to indicate that the requested operation cannot be completed because the specified object has been garbage collected.An object that currently exists in the target VM.Thrown to indicate an operation could not be performed on a frame.A virtual machine which searches for classes through pathsThe type associated with non-object values in a target VM.The value assigned to a field or variable of primitive type in a target VM.The type of an object in a target VM.The type of all primitiveshort
values accessed in the target VM.Provides access to a primitiveshort
value in the target VM.The state of one method invocation on a thread's call stack.A string object from the target VM.A thread group object from the target VM.A thread object from the target VM.The mirror for a type in the target VM.An entity declared within a user defined type (class or interface).The mirror for a value in the target VM.A virtual machine targeted for debugging.A manager of connections to target virtual machines.Thrown to indicate that the operation is invalid because it would modify the VM and the VM is read-only.Unchecked exception thrown to indicate that the requested operation cannot be completed because there is no longer a connection to the target VM.Thrown to indicate that the requested operation cannot be completed because the mirror from one target VM is being combined with a mirror from another target VM.Thrown to indicate that the requested operation cannot be completed because the target VM has run out of memory.The type of all primitivevoid
values accessed in the target VM.Provides access to a primitivevoid
value in the target VM.