top | item 37853339

(no title)

dom2 | 2 years 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?

discuss

order

duped|2 years ago

Because 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|2 years ago

Conway’s law at its finest!

schemescape|2 years ago

I 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|2 years ago

Note: This was definitely not correct! JSON-RPC apparently started in 2005.