Recent

Author Topic: Will Lazarus support LLDB in High Sierra?  (Read 1182 times)

Igor Kokarev

  • Jr. Member
  • **
  • Posts: 50
Will Lazarus support LLDB in High Sierra?
« on: August 14, 2018, 05:10:22 pm »
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.
« Last Edit: August 14, 2018, 05:13:20 pm by Igor Kokarev »

Trenatos

  • Sr. Member
  • ****
  • Posts: 454
  • Software developer - Open source contributor
    • MarcusFernstrom.com
Re: Will Lazarus support LLDB in High Sierra?
« Reply #1 on: August 14, 2018, 05:55:42 pm »
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

  • Administrator
  • Hero Member
  • *
  • Posts: 4952
    • wiki
Re: Will Lazarus support LLDB in High Sierra?
« Reply #2 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)

Igor Kokarev

  • Jr. Member
  • **
  • Posts: 50
Re: Will Lazarus support LLDB in High Sierra?
« Reply #3 on: August 15, 2018, 01:37:46 pm »
Thanks for your replies!

How I can install Lazarus trunk with LLDB on macOS?

UPD. I found how to install Beta version of Lazarus.
« Last Edit: August 16, 2018, 01:29:12 pm by Igor Kokarev »