在Visual Studio代码中将断点设置为Object Pascal代码

时间:2017-04-11 18:51:14

标签: debugging visual-studio-code delphi omnipascal

I installed OmniPascal and Language Pascal extensions into VSCode. 
I have already installed FPC and GDB. 
I already compiled the Object Pascal code and have executable file created with the FPC. 
I can set breakpoints and debug C++ code within VSCode. 

我无法将断点设置为Object Pascal代码 - >当点击行号左侧的区域时,没有任何反应=>我该怎么做才能将断点设置为Object Pascal代码(并在使用GDB调试文件时使用断点)?

1 个答案:

答案 0 :(得分:3)

这些扩展都没有调试功能。根据OmniPascal中报告的this issue,您可以尝试this extension作为实验方式来调试FreePascal。