| 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 | 
|---|---|
| StackFrame | ThreadReference. frame(int index)Returns the  StackFrameat the given index in the
 thread's current call stack. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | LocalVariable. isVisible(StackFrame frame)Determines whether this variable can be accessed from the given
  StackFrame. | 
| void | ThreadReference. popFrames(StackFrame frame)Pop stack frames. | 
 Copyright © 1999, 2025, Oracle and/or its affiliates.  All rights reserved.