MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / _collect_load_names

Function _collect_load_names

_pydevd_bundle/pydevd_daemon_thread.py:80–85  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

78
79
80def _collect_load_names(func):
81 found_load_names = set()
82 for instruction in iter_instructions(func.__code__):
83 if instruction.opname in ("LOAD_GLOBAL", "LOAD_ATTR", "LOAD_METHOD"):
84 found_load_names.add(instruction.argrepr)
85 return found_load_names
86
87
88def _patch_threading_to_hide_pydevd_threads():

Calls 2

iter_instructionsFunction · 0.90
addMethod · 0.45

Tested by

no test coverage detected