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

Method resume

pydevd_attach_to_process/winappdbg/process.py:391–410  ·  view source on GitHub ↗

Resumes execution on all threads of the process. @raise WindowsError: On error an exception is raised.

(self)

Source from the content-addressed store, hash-verified

389 raise
390
391 def resume(self):
392 """
393 Resumes execution on all threads of the process.
394
395 @raise WindowsError: On error an exception is raised.
396 """
397 if self.get_thread_count() == 0:
398 self.scan_threads() # only refresh the snapshot if empty
399 resumed = list()
400 try:
401 for aThread in self.iter_threads():
402 aThread.resume()
403 resumed.append(aThread)
404 except Exception:
405 for aThread in resumed:
406 try:
407 aThread.suspend()
408 except Exception:
409 pass
410 raise
411
412 def is_debugged(self):
413 """

Callers 2

suspendMethod · 0.45

Calls 5

scan_threadsMethod · 0.80
iter_threadsMethod · 0.80
get_thread_countMethod · 0.45
appendMethod · 0.45
suspendMethod · 0.45

Tested by

no test coverage detected