Closed
Description
Bug report
Bug description:
Due to various reasons, remote pdb client does not sync with the server entirely. For example, for multi-line inputs, it will read the full content on the client then send it to the server.
However, this introduced the issue for completion - the server doesn't know it. When user requests a completion for the multi-line code, server pdb doesn't know what completion should be provided (more specifically, whether pdb commands should be provided).
The simplest way to deal with it is to add an extra field "mode"
in completion protocol - unless we sync the client and server perfectly, we will need it because the server knows nothing about the client.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux