GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Functions | Variables
gdb.dap.varref Namespace Reference

Classes

class  BaseReference
 
class  VariableReference
 

Functions

 clear_vars (event)
 
 _null (**ignore)
 
 apply_format (value_format)
 
 find_variable (ref)
 

Variables

list all_variables = []
 

Function Documentation

◆ _null()

gdb.dap.varref._null ( ** ignore)
protected

Definition at line 41 of file varref.py.

Referenced by gdb.dap.varref.apply_format().

◆ apply_format()

gdb.dap.varref.apply_format ( value_format)
Temporarily apply the DAP ValueFormat.

This returns a new context manager that applies the given DAP
ValueFormat object globally, then restores gdb's state when finished.

Definition at line 46 of file varref.py.

References gdb.dap.varref._null(), and gdb.with_parameter().

◆ clear_vars()

gdb.dap.varref.clear_vars ( event)

Definition at line 31 of file varref.py.

◆ find_variable()

gdb.dap.varref.find_variable ( ref)
Given a variable reference, return the corresponding variable object.

Definition at line 268 of file varref.py.

Variable Documentation

◆ all_variables

list gdb.dap.varref.all_variables = []

Definition at line 25 of file varref.py.