Interface IDebuggerThreadStackFrame
public interface IDebuggerThreadStackFrame
Definition of a thread stack frame.
-
Method Summary
Modifier and TypeMethodDescriptionGet the current PC address in the frame.long
getId()
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) boolean
setVariable
(IDebuggerVariable variable) Updates a variable on this stack frame.
-
Method Details
-
getId
long getId()Get the frame identifier.- Returns:
-
getAddress
String getAddress()Get the current PC address in the frame.- Returns:
-
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
- Parameters:
debugVarsOnly
-- Returns:
-
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
-typeInformation
-- Returns:
- Throws:
UnsupportedOperationException
- is not supported by the debugger
-