在 Visual Studio 代码中将断点设置到 Object Pascal 代码中
Set breakpoints into Object Pascal code in Visual Studio Code
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 代码中设置断点 -> 单击行号左侧的区域时,没有任何反应 => 我应该怎么做才能在对象中设置断点Pascal 代码(以及使用 GDB 调试文件时使用的断点)?
None 这些扩展具有调试功能。根据 this issue reported in OmniPascal, you could try this extension 作为调试 FreePascal 的 实验方法。
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 代码中设置断点 -> 单击行号左侧的区域时,没有任何反应 => 我应该怎么做才能在对象中设置断点Pascal 代码(以及使用 GDB 调试文件时使用的断点)?
None 这些扩展具有调试功能。根据 this issue reported in OmniPascal, you could try this extension 作为调试 FreePascal 的 实验方法。