- changed status to on hold
Debug abilities
Issue #20
on hold
Is it possible to enable debugging in Delphi?
Comments (3)
-
repo owner -
With tools like this https://bitbucket.org/anders_melander/map2pdb/ it’s possible to convert debug informations to a (standard) pdb and bind it to the exe. With that in mind it should be possible to use any x86 debugger capable of using pdb-information. Did you ever consider going that route?
-
I found this official project: GitHub - Embarcadero/dap4delphi: Debug Adapter Protocol for Delphi
It’s the protocol used by a lot of IDE like VSCode to communicate with external debugger.
- Log in to comment
Unfortunately there is no public API for the Delphi debugger. So it can't be connected to a different editor. That's the current state based on this question: http://stackoverflow.com/questions/31821058/is-there-a-way-to-use-the-delphi-debugger-in-a-different-editor I'd love to enable debugging in VSCode.
There is an experimental way to debug FreePascal projects using the Debug extension (https://marketplace.visualstudio.com/items?itemName=webfreak.debug).