| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| ObjectReference | ThreadReference. currentContendedMonitor()Returns an  ObjectReferencefor the monitor, if any,
 for which this thread is currently waiting. | 
| int | ObjectReference. entryCount()Returns the number times this object's monitor has been
 entered by the current owning thread. | 
| void | ThreadReference. forceEarlyReturn(Value value)Force a method to return before it reaches a return
 statement. | 
| StackFrame | ThreadReference. frame(int index)Returns the  StackFrameat the given index in the
 thread's current call stack. | 
| int | ThreadReference. frameCount()Returns the number of stack frames in the thread's current
 call stack. | 
| List<StackFrame> | ThreadReference. frames()Returns a List containing each  StackFramein the
 thread's current call stack. | 
| List<StackFrame> | ThreadReference. frames(int start,
      int length)Returns a List containing a range of  StackFramemirrors
 from the thread's current call stack. | 
| Value | ObjectReference. invokeMethod(ThreadReference thread,
            Method method,
            List<? extends Value> arguments,
            int options)Invokes the specified  Methodon this object in the
 target VM. | 
| default Value | InterfaceType. invokeMethod(ThreadReference thread,
            Method method,
            List<? extends Value> arguments,
            int options)Invokes the specified static  Methodin the
 target VM. | 
| Value | ClassType. invokeMethod(ThreadReference thread,
            Method method,
            List<? extends Value> arguments,
            int options)Invokes the specified static  Methodin the
 target VM. | 
| ObjectReference | ClassType. newInstance(ThreadReference thread,
           Method method,
           List<? extends Value> arguments,
           int options)Constructs a new instance of this type, using
 the given constructor  Methodin the
 target VM. | 
| List<ObjectReference> | ThreadReference. ownedMonitors()Returns a List containing an  ObjectReferencefor
 each monitor owned by the thread. | 
| List<MonitorInfo> | ThreadReference. ownedMonitorsAndFrames()Returns a List containing a  MonitorInfoobject for
 each monitor owned by the thread. | 
| ThreadReference | ObjectReference. owningThread()Returns an  ThreadReferencefor the thread, if any,
 which currently owns this object's monitor. | 
| void | ThreadReference. popFrames(StackFrame frame)Pop stack frames. | 
| List<ThreadReference> | ObjectReference. waitingThreads()Returns a List containing a  ThreadReferencefor
 each thread currently waiting for this object's monitor. | 
 Copyright © 1999, 2017, Oracle and/or its affiliates.  All rights reserved.