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.
-
next(boolean)
- Do a "next" in this stack frame
-
returnFromFrame()
- Return from this stack frame
-
setVariable(int, boolean)
-
-
setVariable(int, char)
-
-
setVariable(int, double)
-
-
setVariable(int, float)
-
-
setVariable(int, int)
-
-
setVariable(int, long)
-
-
step(boolean)
- Do a "step" in this stack frame
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.
step
public void step(boolean stepLine) throws Exception
- Do a "step" in this stack frame
next
public void next(boolean stepLine) throws Exception
- Do a "next" in this stack frame
returnFromFrame
public void returnFromFrame() throws Exception
- Return from this stack frame
setVariable
public void setVariable(int slot,
int value) throws Exception
setVariable
public void setVariable(int slot,
boolean value) throws Exception
setVariable
public void setVariable(int slot,
char value) throws Exception
setVariable
public void setVariable(int slot,
long value) throws Exception
setVariable
public void setVariable(int slot,
float value) throws Exception
setVariable
public void setVariable(int slot,
double value) throws Exception
All Packages Class Hierarchy This Package Previous Next Index