|
GDB (xrefs)
|
Public Member Functions | |
| __init__ (self, name, frame) | |
| fetch_one_child (self, idx) | |
| __init__ (self, name, frame) | |
| fetch_one_child (self, idx) | |
Public Member Functions inherited from gdb.dap.scopes._ScopeReference | |
| to_object (self) | |
| has_children (self) | |
| child_count (self) | |
| to_object (self) | |
| has_children (self) | |
| child_count (self) | |
Public Member Functions inherited from gdb.dap.varref.BaseReference | |
| reset_children (self) | |
| fetch_children (self, start, count) | |
| find_child_by_name (self, name) | |
| reset_children (self) | |
| fetch_children (self, start, count) | |
| find_child_by_name (self, name) | |
Additional Inherited Members | |
Public Attributes inherited from gdb.dap.scopes._ScopeReference | |
| hint = hint | |
| frame = frame | |
| inf_frame = frame.inferior_frame() | |
| func = frame.function() | |
| line = frame.line() | |
| var_list = tuple(var_list) | |
Public Attributes inherited from gdb.dap.varref.BaseReference | |
| ref = len(all_variables) | |
| name = name | |
| list | children = None |
| dict | by_name = {} |
| name_counts = defaultdict(lambda: 1) | |
| int | by_name = 1 |
Protected Member Functions inherited from gdb.dap.varref.BaseReference | |
| _compute_name (self, name) | |
| _compute_name (self, name) | |
| gdb.dap.scopes._RegisterReference.__init__ | ( | self, | |
| name, | |||
| hint ) |
Create a new variable reference with the given name. NAME is a string or None. None means this does not have a name, e.g., the result of expression evaluation.
Reimplemented from gdb.dap.scopes._ScopeReference.
Definition at line 97 of file scopes.py.
References gdb.dap.scopes._RegisterReference.__init__().
Referenced by gdb.dap.scopes._RegisterReference.__init__().
| gdb.dap.scopes._RegisterReference.__init__ | ( | self, | |
| name, | |||
| hint ) |
Create a new variable reference with the given name. NAME is a string or None. None means this does not have a name, e.g., the result of expression evaluation.
Reimplemented from gdb.dap.scopes._ScopeReference.
Definition at line 97 of file scopes.py.
References gdb.dap.scopes._RegisterReference.__init__().
| gdb.dap.scopes._RegisterReference.fetch_one_child | ( | self, | |
| index ) |
Fetch one child of this variable. INDEX is the index of the child to fetch. This should return a tuple of the form (NAME, VALUE), where NAME is the name of the variable, and VALUE is a gdb.Value.
Reimplemented from gdb.dap.scopes._ScopeReference.
Definition at line 103 of file scopes.py.
References gdb.dap.scopes._get_scope(), gdb.dap.scopes._ScopeReference.inf_frame, and gdb.dap.scopes._ScopeReference.var_list.
Referenced by gdb.dap.varref.BaseReference.fetch_children().
| gdb.dap.scopes._RegisterReference.fetch_one_child | ( | self, | |
| index ) |
Fetch one child of this variable. INDEX is the index of the child to fetch. This should return a tuple of the form (NAME, VALUE), where NAME is the name of the variable, and VALUE is a gdb.Value.
Reimplemented from gdb.dap.scopes._ScopeReference.
Definition at line 103 of file scopes.py.
References gdb.dap.scopes._ScopeReference.inf_frame, and gdb.dap.scopes._ScopeReference.var_list.
Referenced by gdb.dap.varref.BaseReference.fetch_children().