Foundry.DebuggerVariable¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r |
|||
r |
|||
r |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Foundry.DebuggerVariable(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
Abstract base class for representing variables in the debugger.
Foundry.DebuggerVariableprovides the core interface for representing variables during debugging sessions. It includes variable name, type, and value information, and provides a unified interface for variable inspection and manipulation across different debugging backends.- is_structured()¶
- Returns:
Trueif self is known to have children that may be queried; otherwiseFalse.- n_children:
the number of known children
- Return type:
If the number of children is known, it will be set to n_children. Otherwise it should be set to zero.
New in version 1.1.
- list_children()¶
- Returns:
a [class`Dex`.Future] that resolves to a [iface`Gio`.ListModel] of [class`Foundry`.DebuggerVariable] or rejects with error.
- Return type:
Queries the structured children of the variable.
New in version 1.1.
- read_memory(offset, count)¶
- Parameters:
- Returns:
a [class`Dex`.Future] that resolves to a [struct`GLib`.Bytes] or rejects with error.
Sicne: 1.1
- Return type:
Read count bytes at offset of the variable.
- do_is_structured() virtual¶
- Returns:
Trueif self is known to have children that may be queried; otherwiseFalse.- n_children:
the number of known children
- Return type:
If the number of children is known, it will be set to n_children. Otherwise it should be set to zero.
New in version 1.1.
- do_list_children() virtual¶
- Returns:
a [class`Dex`.Future] that resolves to a [iface`Gio`.ListModel] of [class`Foundry`.DebuggerVariable] or rejects with error.
- Return type:
Queries the structured children of the variable.
New in version 1.1.
- do_read_memory(offset, count) virtual¶
- Parameters:
- Returns:
a [class`Dex`.Future] that resolves to a [struct`GLib`.Bytes] or rejects with error.
Sicne: 1.1
- Return type:
Read count bytes at offset of the variable.
Property Details¶
- Foundry.DebuggerVariable.props.type_name¶