MCPcopy Index your code
hub / github.com/fabioz/PyDev.Debugger / on_thread_resume

Method on_thread_resume

pydevd.py:450–463  ·  view source on GitHub ↗
(self, thread_id, thread)

Source from the content-addressed store, hash-verified

448 )
449
450 def on_thread_resume(self, thread_id, thread):
451 # on resume (step, continue all):
452 with self._lock:
453 self._suspended_thread_id_to_thread.pop(thread_id)
454 if self._last_resume_notification_time < self._last_suspend_notification_time:
455 pydev_log.info("Sending resume notification.")
456 self._last_resume_notification_time = self._last_suspend_notification_time
457 self.send_resume_notification(thread_id)
458 else:
459 pydev_log.info(
460 "Resume not sent (it was already sent). Last resume %s >= Last suspend %s",
461 self._last_resume_notification_time,
462 self._last_suspend_notification_time,
463 )
464
465 @contextmanager
466 def notify_thread_suspended(self, thread_id, thread, stop_reason):

Callers 2

Calls 3

popMethod · 0.80
infoMethod · 0.80

Tested by

no test coverage detected