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
-
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.
-
getMethodName()
- Get the method name referenced by this stackframe.
-
getPC()
- Get the program counter referenced by this stackframe.
-
getRemoteClass()
- Get the class this stackframe references.
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.
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.
getLineNumber
public int getLineNumber()
- Return the source file line number.
getMethodName
public String getMethodName()
- Get the method name referenced by this stackframe.
getPC
public int getPC()
- Get the program counter referenced by this stackframe.
getRemoteClass
public RemoteClass getRemoteClass()
- Get the class this stackframe references.
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature