com.pnfsoftware.jeb.core.units.code.debug.IDebuggerVariable |
A variable managed by a debugger. Variables are generally provided by
IDebuggerThreadStackFrame
.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | FLAG_FINAL | ||||||||||
int | FLAG_PRIVATE | ||||||||||
int | FLAG_PROTECTED | ||||||||||
int | FLAG_PUBLIC | ||||||||||
int | FLAG_STATIC |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract boolean |
canEditType()
Indicate if the type can be changed (for variables that have unknown type).
| ||||||||||
abstract boolean |
canEditValue()
Indicate if the value can be changed.
| ||||||||||
abstract String |
format()
Return a complete, human-readable representation of the variable.
| ||||||||||
abstract String | getAlternateName() | ||||||||||
abstract int |
getFlags()
Get the variable bit flags.
| ||||||||||
abstract String |
getName()
Get the variable name.
| ||||||||||
abstract ITypedValue |
getTypedValue()
Retrieve the variable value.
| ||||||||||
abstract boolean |
setTypeHint(String typeHint)
Set the type hint for this variable.
| ||||||||||
abstract boolean |
setTypedValue(ITypedValue value)
Set the variable value.
|
Indicate if the type can be changed (for variables that have unknown type). Use
setTypeHint(String)
to modify the type.
Indicate if the value can be changed. Use setTypedValue(ITypedValue)
to modify the
value.
Return a complete, human-readable representation of the variable.
Get the variable bit flags. Refer to the FLAG_xxx
constants in this class.
Get the variable name.
Retrieve the variable value.
Set the type hint for this variable.
Set the variable value. If the operation is not be permitted or supported, the return value should be false.
value | a value whose type must be consistent with the object provided by
getTypedValue() |
---|