[fpc-pascal] fpDebug function-call proof-of-concept
Joost van der Sluis
joost at cnoc.nl
Tue Jul 7 15:13:49 CEST 2020
Op 07-07-2020 om 14:17 schreef Sven Barth via fpc-pascal:
> Joost van der Sluis <joost at cnoc.nl <mailto:joost at cnoc.nl>> schrieb am
> Di., 7. Juli 2020, 11:17:
>
> Hi all,
>
> Last weekend I started on the ability to evaluate functions within
> fpDebug. And I got quite far. It is a proof-of-concept, still needs a
> lot of work. But it works!
>
> See it in action here:
>
> http://amira.cnoc.nl/fpc/FpDebugCallProofOfconcept.gif
>
>
> Very nice! Looking forward to further improvements here. :)
>
> By the way: how do you use it from within VS Code? Is that some generic
> debug interface?
I am using this plugin: (Please install and give feedback)
https://marketplace.visualstudio.com/items?itemName=CNOC.fpdebug
Well, actually I wrote it:
https://gitlab.freepascal.org/Joost/vscode-fpdebug
It's using Microsoft's debug-adapter-protocol (DAB), a generic protocol
that can be used to glue editors and debuggers together:
https://code.visualstudio.com/blogs/2018/08/07/debug-adapter-protocol-website/
I wrote a version of fpDebug that implements this protocol. In principle
it should also work with other editors that implement this protocol:
https://gitlab.freepascal.org/Joost/fpdserver
Regards,
Joost.
More information about the fpc-pascal
mailing list