debugging - 在 Visual Studio Code 中的 Object Pascal 代码中设置断点

标签 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调试文件时使用了断点)?

最佳答案

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

关于debugging - 在 Visual Studio Code 中的 Object Pascal 代码中设置断点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43354024/

相关文章:

database - 德尔福数据库 : Setting up an array of ADT fields at runtime

delphi - FMX Direct 2D 问题

visual-studio - 如何在 Visual Studio 调试器中查看段偏移内存地址?

javascript - 找不到模块 'crawler'

android - Visual Studio 代码无法检测到模拟器设备或连接的电话

visual-studio-code - vscode : how to make text after snippet *not* selected?

windows - Windows 快捷方式是否支持非常长的参数长度?

node.js - 我收到以下错误 - NPM 错误 : debug module is not working

c++ - 从 Visual Studio 中间窗口调用方法 nlohmann::json::dump

javascript - 使用 modernizr 在 ie 中测试指针事件