| 31 | |
| 32 | |
| 33 | class _DummyWriter(object): |
| 34 | __slots__ = ["commands", "command_meanings"] |
| 35 | |
| 36 | def __init__(self): |
| 37 | self.commands = [] |
| 38 | self.command_meanings = [] |
| 39 | |
| 40 | def add_command(self, cmd): |
| 41 | from _pydevd_bundle.pydevd_comm import ID_TO_MEANING |
| 42 | |
| 43 | meaning = ID_TO_MEANING[str(cmd.id)] |
| 44 | self.command_meanings.append(meaning) |
| 45 | self.commands.append(cmd) |
| 46 | |
| 47 | |
| 48 | class _DummyPyDb(object): |