######## Practice ######## Access to Practice macros is provided by the :py:attr:`PracticeService` class. Each debugger has its own instance, which can be used through its :py:attr:`practice` attribute. Macros set via Remote API are global and pose as a Link between Practice and Python. Therefore hybrid solutions may be formed by for example setting practice macros before executing a python script, reading them at the beginning and writing the results back to macros. ************* Writing Macro ************* .. code-block:: python >>> dbg.practice.set_macro("¯oName", "0x1234") ************* Reading Macro ************* .. code-block:: python >>> macro = dbg.practice.get_macro("¯oName") >>> print(macro.value)