How do I get OmniPascal to integrate with LLDB on the macOS 10.12.6

女生的网名这么多〃 提交于 2019-12-24 08:26:17

问题


  • VSCode v1.14.2
  • macOS 10.12.6 Sierra
  • lldb -version: lldb-370.0.42
  • Lazarus 1.8.0 RC3
  • FPC 3.0.2

Hi Wosi (or anyone that can help!),

As you may know debugging Lazarus/Free Pascal on macOS Sierra is problematic because of issues with GDB. This forces us to debug our apps in LLDB using Xcode as the environment (see here: https://macpgmr.github.io/ObjP/ProjectXC.html).

This works reasonably well but I would prefer to use OmniPascal/VSCode.

I have investigated the VSCode extensions "LLDB Debugger" v0.5.4 and "Native Debug" v0.21.2, and while the "Native Debug" extension allows me to set breakpoints, it appears to be not sufficiently developed yet to be suitable for actual use.

To recap then, do you have any ideas for how I can debug Lazarus/FPC apps on the Apple Mac using LLDB and VSCode/OmniPascal?

EDIT: I have made some progress using Native Debug, although there are some problems accessing class type variables. This is described here: https://github.com/WebFreak001/code-debug/issues/118

来源:https://stackoverflow.com/questions/45324418/how-do-i-get-omnipascal-to-integrate-with-lldb-on-the-macos-10-12-6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!