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

Method clear

pydevd_attach_to_process/winappdbg/process.py:470–480  ·  view source on GitHub ↗

Clears the snapshot of threads and modules.

(self)

Source from the content-addressed store, hash-verified

468 self.scan_modules()
469
470 def clear(self):
471 """
472 Clears the snapshot of threads and modules.
473 """
474 try:
475 try:
476 self.clear_threads()
477 finally:
478 self.clear_modules()
479 finally:
480 self.close_handle()
481
482 # ------------------------------------------------------------------------------
483

Callers 4

killMethod · 0.95
detachMethod · 0.95
clear_processesMethod · 0.45
_del_processMethod · 0.45

Calls 3

close_handleMethod · 0.95
clear_threadsMethod · 0.80
clear_modulesMethod · 0.80

Tested by

no test coverage detected