(self, thread_id, thread)
| 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): |
no test coverage detected