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
-
getLineNumber()
-
Return the source file line number.
-
getLocalVariable(String)
-
Return a specific (named) stack variable.
-
getLocalVariables()
-
Return an array of all valid local variables and method arguments
for this stack frame.
-
getRemoteClass()
-
Get the class this stackframe references.
-
getSourceFile()
-
Get the source file referenced by this stackframe.
-
getSourceFileName()
-
Get the name of the source file referenced by this stackframe.
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.
getLocalVariables
public RemoteStackVariable[] getLocalVariables() throws Exception
-
Return an array of all valid local variables and method arguments
for this stack frame.
getLineNumber
public int getLineNumber()
-
Return the source file line number.
getSourceFileName
public String getSourceFileName()
-
Get the name of the source file referenced by this stackframe.
getSourceFile
public InputStream getSourceFile() throws Exception
-
Get the source file referenced by this stackframe.
getRemoteClass
public RemoteClass getRemoteClass()
-
Get the class this stackframe references.
All Packages This Package Previous Next