(self, prompt, state)
| 2872 | self._send(message=str(msg), type="error") |
| 2873 | |
| 2874 | def _get_input(self, prompt, state) -> str: |
| 2875 | # Before displaying a (Pdb) prompt, send the list of PDB commands |
| 2876 | # unless we've already sent an up-to-date list. |
| 2877 | if state == "pdb" and not self._command_name_cache: |
| 2878 | self._command_name_cache = self.completenames("", "", 0, 0) |
| 2879 | self._send(command_list=self._command_name_cache) |
| 2880 | self._send(prompt=prompt, state=state) |
| 2881 | return self._read_reply() |
| 2882 | |
| 2883 | def _read_reply(self): |
| 2884 | # Loop until we get a 'reply' or 'signal' from the client, |
no test coverage detected