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

Method clear

pydevd_attach_to_process/winappdbg/thread.py:343–350  ·  view source on GitHub ↗

Clears the resources held by this object.

(self)

Source from the content-addressed store, hash-verified

341 return self.hThread
342
343 def clear(self):
344 """
345 Clears the resources held by this object.
346 """
347 try:
348 self.set_process(None)
349 finally:
350 self.close_handle()
351
352 # ------------------------------------------------------------------------------
353

Callers 15

_on_runMethod · 0.45
wait_for_ready_to_runMethod · 0.45
on_initializeMethod · 0.45
on_disconnectMethod · 0.45
_clear_cachesMethod · 0.45
_do_wait_suspendMethod · 0.45
_resolve_listing_partsFunction · 0.45
on_drawFunction · 0.45

Calls 2

set_processMethod · 0.95
close_handleMethod · 0.95

Tested by 2

test_convert_utilitiesFunction · 0.36
test_relative_pathsFunction · 0.36