News for hackers. Stuff that matters.
Re:Predictive Debugging: A Game-Changing Look into the Future by Groxx on Tuesday August 01, 2023 @12:47PM (#36958573)
The LSP version of debuggers is essentially DAP, and it is gaining some support: https://microsoft.github.io/debug-adapter-protocol/

Like LSP it's a bit crippled compared to a normal debugger, but the universally-pluggable aspect is compelling.

Re:Predictive Debugging: A Game-Changing Look into the Future by xpe on Tuesday August 01, 2023 @05:25PM (#36963220)
Thanks for sharing. I can see why are you excited about this. For others who might not click through:

> What is the Debug Adapter Protocol?

> Adding a debugger for a new language to an IDE or editor is not only a significant effort, but it is also frustrating that this effort can not be easily amortized over multiple development tools, as each tool uses different APIs for implementing the same feature.

> The idea behind the Debug Adapter Protocol (DAP) is to abstract the way how the debugging support of development tools communicates with debuggers or runtimes into a protocol. Since it is unrealistic to assume that existing debuggers or runtimes adopt this protocol any time soon, we rather assume that an intermediary component - a so called Debug Adapter - adapts an existing debugger or runtime to the Debug Adapter Protocol.