Forum > macOS / Mac OS X

Will Lazarus support LLDB in High Sierra?

(1/1)

Igor Kokarev:
Hi,

Are there any plans to include support of LLDB debugger in Lazarus?

I've read all advices, Stackoverflow and official Lazarus Wiki and can't get to work GDB. macOS 10.13.6, Lazarus 1.8.4, fpc 3.0.4.
All suggestions didn't help.

Currently I can use only Xcode + ProjectXC to debug my apps in High Sierra.

I also tried VSCode + OmniPascal + Native Debugger, but couldn't configure correctly OmniPascal - it simply doesn't save any parameters in settings. Anyway I would prefer to use Lazarus than VCStudio.

Trenatos:
https://forum.lazarus.freepascal.org/index.php?topic=37024.0

Haven't tried it, but this one says you can use lldb but have to do it from the commandline - https://alexconesa.wordpress.com/2016/11/16/lldb-and-gdb-debug-in-lazarus/

Martin_fr:
Lazarus trunk already has basic support for lldb.

Install the package  components\lazdebuggers\lazdebuggerfplldb.lpk
(make sure it is the one with "fp" in the name)

Igor Kokarev:
Thanks for your replies!

How I can install Lazarus trunk with LLDB on macOS?

UPD. I found how to install Beta version of Lazarus.

dieselnutjob:

--- Quote from: Martin_fr on August 14, 2018, 06:10:59 pm ---Lazarus trunk already has basic support for lldb.

Install the package  components\lazdebuggers\lazdebuggerfplldb.lpk
(make sure it is the one with "fp" in the name)

--- End quote ---

Thank you for this reply.

I have just done a clean rebuild of my old MacBook Pro running High Sierra.
I installed fpc 3.20 directly downloaded from freepascal and then compiled Lazarus 2.1.0 from source.
Installing this package (where you said it would be) and then going into Lazarus -> Preferences -> Debugger -> Debugger backend and selecting LLDB debugger (with fpdebug) (Beta) works!
thanks again

Navigation

[0] Message Index

Go to full version