diff options
author | John Harrison <harjohn@google.com> | 2025-03-12 12:29:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-12 12:29:05 -0700 |
commit | 7790d69cce048d7c81fceaf979fd2ec60e37476b (patch) | |
tree | ec4ae9b57909cc826e22c96da3094ae86f4d997d /lldb/packages/Python/lldbsuite | |
parent | 4d79e9892c482978ba07690e275ea9f7e983a703 (diff) | |
download | llvm-7790d69cce048d7c81fceaf979fd2ec60e37476b.zip llvm-7790d69cce048d7c81fceaf979fd2ec60e37476b.tar.gz llvm-7790d69cce048d7c81fceaf979fd2ec60e37476b.tar.bz2 |
[lldb-dap] Refactoring IOStream into Transport handler. (#130026)
Instead of having two discrete InputStream and OutputStream helpers,
this merges the two into a unifed 'Transport' handler.
This handler is responsible for reading the DAP message headers, parsing
the resulting JSON and converting the messages into
`lldb_dap::protocol::Message`s for both input and output.
---------
Co-authored-by: Jonas Devlieghere <jonas@devlieghere.com>
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py index 9471594..0fea341 100644 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py @@ -337,7 +337,7 @@ class DebugCommunication(object): self.send_packet( { "type": "response", - "seq": -1, + "seq": 0, "request_seq": response_or_request["seq"], "success": True, "command": "runInTerminal", @@ -349,7 +349,7 @@ class DebugCommunication(object): self.send_packet( { "type": "response", - "seq": -1, + "seq": 0, "request_seq": response_or_request["seq"], "success": True, "command": "startDebugging", |