[fpc-pascal] Debug-Adapter-Protocol support for fpDebug

Joost van der Sluis joost at cnoc.nl
Thu Apr 23 22:10:08 CEST 2020


Hi all,

I didn't want to share this yet, but it is related to the Pascal 
Language Server so maybe some of you might be interested.

I'm working on the support of the debug-adapter-protocol for fpDebug. 
It's quite easy to implement, as there already is a json-based tcp/ip 
interface. (https://microsoft.github.io/debug-adapter-protocol)

I want to use it to debug fpc-applications with Visual Studio Code.

It's a little bit difficult as fpDebug is in the Lazarus repository. It 
was placed there because fpc's releases were not often enough. But maybe 
it should become a separate package now. Lazarus can use is as a 
dependency. We'll see.

Regards,

Joost.



More information about the fpc-pascal mailing list