| 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.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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Location | StackFrame. location()Returns the  Locationof the current instruction in the frame. | 
| Location | Locatable. location()Returns the  Locationof this mirror, if there
 is executable code associated with it. | 
| Location | Method. location()Returns the  Locationof this method, if there
 is executable code associated with it. | 
| Location | Method. locationOfCodeIndex(long codeIndex)Returns a  Locationfor the given code index. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Location> | Method. allLineLocations()Returns a list containing a  Locationobject for
 each executable source line in this method. | 
| List<Location> | ReferenceType. allLineLocations()Returns a list containing a  Locationobject
 for each executable source line in this reference type. | 
| List<Location> | Method. allLineLocations(String stratum,
                String sourceName)Returns a list containing a  Locationobject for
 each executable source line in this method. | 
| List<Location> | ReferenceType. allLineLocations(String stratum,
                String sourceName)Returns a list containing a  Locationobject
 for each executable source line in this reference type. | 
| List<Location> | Method. locationsOfLine(int lineNumber)Returns a List containing all  Locationobjects
 that map to the given line number. | 
| List<Location> | ReferenceType. locationsOfLine(int lineNumber)Returns a List containing all  Locationobjects
 that map to the given line number. | 
| List<Location> | Method. locationsOfLine(String stratum,
               String sourceName,
               int lineNumber)Returns a List containing all  Locationobjects
 that map to the given line number and source name. | 
| List<Location> | ReferenceType. locationsOfLine(String stratum,
               String sourceName,
               int lineNumber)Returns a List containing all  Locationobjects
 that map to the given line number. | 
| Modifier and Type | Method and Description | 
|---|---|
| Location | ExceptionEvent. catchLocation()Gets the location where the exception will be caught. | 
| Modifier and Type | Method and Description | 
|---|---|
| Location | BreakpointRequest. location()Returns the location of the requested breakpoint. | 
| Modifier and Type | Method and Description | 
|---|---|
| BreakpointRequest | EventRequestManager. createBreakpointRequest(Location location)Creates a new disabled  BreakpointRequest. | 
 Copyright © 1999, 2025, Oracle and/or its affiliates.  All rights reserved.