All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sun.tools.debug.RemoteStackFrame

java.lang.Object
   |
   +----sun.tools.debug.StackFrame
           |
           +----sun.tools.debug.RemoteStackFrame

public class RemoteStackFrame
extends StackFrame
The RemoteStackFrame class provides access to a stackframe of a suspended thread.

See Also:
RemoteDebugger, RemoteThread

Method Index

 o getLineNumber()
Return the source file line number.
 o getLocalVariable(String)
Return a specific (named) stack variable.
 o getLocalVariables()
Return an array of all valid local variables and method arguments for this stack frame.
 o getMethodName()
Get the method name referenced by this stackframe.
 o getPC()
Get the program counter referenced by this stackframe.
 o getRemoteClass()
Get the class this stackframe references.
 o next(boolean)
Do a "next" in this stack frame
 o returnFromFrame()
Return from this stack frame
 o setVariable(int, boolean)
 o setVariable(int, char)
 o setVariable(int, double)
 o setVariable(int, float)
 o setVariable(int, int)
 o setVariable(int, long)
 o step(boolean)
Do a "step" in this stack frame

Methods

 o getLocalVariable
 public RemoteStackVariable getLocalVariable(String name) throws Exception
Return a specific (named) stack variable. A slot number of -1 indicates that the variable is not currently in scope.

Throws: Exception
if a general exception occurs.
 o getLocalVariables
 public RemoteStackVariable[] getLocalVariables() throws Exception
Return an array of all valid local variables and method arguments for this stack frame.

Throws: Exception
if a general exception occurs.
 o getLineNumber
 public int getLineNumber()
Return the source file line number.

 o getMethodName
 public String getMethodName()
Get the method name referenced by this stackframe.

 o getPC
 public int getPC()
Get the program counter referenced by this stackframe.

 o getRemoteClass
 public RemoteClass getRemoteClass()
Get the class this stackframe references.

 o step
 public void step(boolean stepLine) throws Exception
Do a "step" in this stack frame

 o next
 public void next(boolean stepLine) throws Exception
Do a "next" in this stack frame

 o returnFromFrame
 public void returnFromFrame() throws Exception
Return from this stack frame

 o setVariable
 public void setVariable(int slot,
                         int value) throws Exception
 o setVariable
 public void setVariable(int slot,
                         boolean value) throws Exception
 o setVariable
 public void setVariable(int slot,
                         char value) throws Exception
 o setVariable
 public void setVariable(int slot,
                         long value) throws Exception
 o setVariable
 public void setVariable(int slot,
                         float value) throws Exception
 o setVariable
 public void setVariable(int slot,
                         double value) throws Exception

All Packages  Class Hierarchy  This Package  Previous  Next  Index