Cache
Caches return values until some event in the inferior happens, e.g. execution stops because of a SIGINT or breakpoint, or a new library/objfile are loaded, etc.
Cache = Union[Dict[Tuple[Any, ...], Any], DebugCacheDict]
module-attribute
¶
IS_CACHING = True
module-attribute
¶
IS_CACHING_DISABLED_FOR: Dict[str, bool] = {'stop': False, 'exit': False, 'objfile': False, 'start': False, 'cont': False, 'thread': False, 'prompt': False, 'forever': False}
module-attribute
¶
P = ParamSpec('P')
module-attribute
¶
T = TypeVar('T')
module-attribute
¶
debug = NO_DEBUG
module-attribute
¶
debug_name = 'regs'
module-attribute
¶
DebugCacheDict
¶
cache_until(*event_names)
¶
clear_cache(cache_name)
¶
clear_caches()
¶
connect_clear_caching_events(event_dicts, **kwargs)
¶
Connect given debugger event hooks to correspoonding _CacheUntilEvent instances