(self, thread_id, thread, stop_reason)
| 464 | |
| 465 | @contextmanager |
| 466 | def notify_thread_suspended(self, thread_id, thread, stop_reason): |
| 467 | self.on_thread_suspend(thread_id, thread, stop_reason) |
| 468 | try: |
| 469 | yield # At this point the thread must be actually suspended. |
| 470 | finally: |
| 471 | self.on_thread_resume(thread_id, thread) |
| 472 | |
| 473 | |
| 474 | class ThreadsSuspendedSingleNotification(AbstractSingleNotificationBehavior): |