Debugging capabilities? #11
Replies: 2 comments 13 replies
-
|
Thanks! So yes, stepping through Pascal, setting breakpoints in Pascal, and inspecting values while viewing the Pascal file is completely possible. The key is accurate #line mapping, and that’s already part of the plan for JetPascal. As long as the .pas file exists at the same path during debugging, VSCode or any other PDB-aware debugger can treat it as the real source. Note: #line directives are already being inserted, which is why error messages point back to the correct locations in the .pas file. So technically you should be able to debug against the Pascal source right now, although I haven’t tested it yet. Better debugging support is definitely coming in future updates. |
Beta Was this translation helpful? Give feedback.
-
|
Here is an example of the bundled
|
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hi Jarrod.
Congratulations for your remarkable and very useful work.
Do you think it would ever be possible to debug a JetPascal project from Visual Studio Code or another editor?
I understand that there's some transpilling between the source code and the compiled code, and this could make it difficult.
Bye.
Beta Was this translation helpful? Give feedback.
All reactions