| 664 | """ |
| 665 | |
| 666 | def __init__(self, seq, thread_id, py_db, set_additional_thread_info, fmt, timeout=0.5, start_frame=0, levels=0): |
| 667 | InternalThreadCommand.__init__(self, thread_id) |
| 668 | self._py_db = weakref.ref(py_db) |
| 669 | self._timeout = time.time() + timeout |
| 670 | self.seq = seq |
| 671 | self._cmd = None |
| 672 | self._fmt = fmt |
| 673 | self._start_frame = start_frame |
| 674 | self._levels = levels |
| 675 | |
| 676 | # Note: receives set_additional_thread_info to avoid a circular import |
| 677 | # in this module. |
| 678 | self._set_additional_thread_info = set_additional_thread_info |
| 679 | |
| 680 | @overrides(InternalThreadCommand.can_be_executed_by) |
| 681 | def can_be_executed_by(self, _thread_id): |