Interface IDebuggerThreadStackFrame
public interface IDebuggerThreadStackFrame
Definition of a thread stack frame.
-
Method Summary
Modifier and TypeMethodDescriptionGet the current PC address in the frame.longgetId()Get the frame identifier.getInternalParameter(int index, String typeInformation) Get a specific internal parameter in this frame.List<? extends IDebuggerVariable> Read all variables that can be read on this stack frame.List<? extends IDebuggerVariable> getVariables(boolean debugVarsOnly) Read variables that can be read on this stack frame.booleansetVariable(IDebuggerVariable variable) Updates a variable on this stack frame.
-
Method Details
-
getId
long getId()Get the frame identifier.- Returns:
- frame id
-
getAddress
String getAddress()Get the current PC address in the frame.- Returns:
- frame program-counter address
-
getVariables
List<? extends IDebuggerVariable> getVariables()Read all variables that can be read on this stack frame. The debugger may use heuristics and other non-deterministic techniques to determine how many variables can be read, what are their types, etc.- Returns:
- a list of variables, possibly empty; null on error
-
getVariables
Read variables that can be read on this stack frame.- Parameters:
debugVarsOnly- true to return debug-information variables only- Returns:
- a list of variables, possibly empty; null on error
-
setVariable
Updates a variable on this stack frame. In some circumstances, variable can not be updated- Parameters:
variable- variable to be updated- Returns:
- true when update is successful
-
getInternalParameter
Get a specific internal parameter in this frame.- Parameters:
index- parameter indextypeInformation- optional type information- Returns:
- internal parameter variable
- Throws:
UnsupportedOperationException- is not supported by the debugger
-