Class sun.tools.debug.RemoteStackFrame
All Packages    This Package    Previous    Next

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
Author:
Thomas Ball

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 getRemoteClass()
Get the class this stackframe references.
 o getSourceFile()
Get the source file referenced by this stackframe.
 o getSourceFileName()
Get the name of the source file referenced by this stackframe.

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.

 o getLocalVariables

  public RemoteStackVariable[] getLocalVariables() throws Exception
Return an array of all valid local variables and method arguments for this stack frame.

 o getLineNumber

  public int getLineNumber()
Return the source file line number.

 o getSourceFileName

  public String getSourceFileName()
Get the name of the source file referenced by this stackframe.

 o getSourceFile

  public InputStream getSourceFile() throws Exception
Get the source file referenced by this stackframe.

 o getRemoteClass

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


All Packages    This Package    Previous    Next