4 ms·
One thing that has annoyed me with some personal implementation work is why does DAP use a cosmetically similar but not following spec version of JSONRPC? Why n
by dom2 3y ago
One thing that has annoyed me with some personal implementation work is why does DAP use a cosmetically similar but not following spec version of JSONRPC? Why not just use JSONRPC especially considering LSP already does?
- duped 3y agoBecause of organizational disorganization within the VS Code development teams. LSP and DAP are basically the VSCode APIs for implementing language support and debuggers but bolted onto an RPC layer without synchronization or consistency between the people/teams that develop them.
- sakras 3y agoConway’s law at its finest!
- schemescape 3y agoI would assume DAP predates (and possibly motivated) JSONRPC (edit: so it might have been working off of a draft spec). Hopefully someone knowledgeable can comment.
- schemescape 3y agoNote: This was definitely not correct! JSON-RPC apparently started in 2005.
- durbat 3y agoThis post explains the reasons https://github.com/microsoft/vscode-debugadapter-node/issues/58#issuecomment-246387621 https://github.com/microsoft/vscode-debugadapter-node/issues...