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调试文件时使用了断点)?
最佳答案
这些扩展都没有调试功能。根据this issue OmniPascal 中报道,您可以尝试 this extension作为调试 FreePascal 的实验方法。
关于debugging - 在 Visual Studio Code 中的 Object Pascal 代码中设置断点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43354024/