Recent

Author Topic: Debugger missing  (Read 3249 times)

Cavender

  • New Member
  • *
  • Posts: 12
Debugger missing
« on: March 30, 2018, 06:43:59 pm »
When I start Lazarus, the Configure Lazarus IDE window opens and says I need a debugger, and “The debugger executable typically has the name gdb.”  There is no gdb in my Mac computer.  There is a Gdbmi folder, but I don’t see an executable in it.  How can I get the needed debugger?

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Debugger missing
« Reply #1 on: March 30, 2018, 06:51:30 pm »
When I start Lazarus, the Configure Lazarus IDE window opens and says I need a debugger, and “The debugger executable typically has the name gdb.”  There is no gdb in my Mac computer.  There is a Gdbmi folder, but I don’t see an executable in it.  How can I get the needed debugger?

Search the wiki for instructions on setting up and signing gdb.

Apple moved on from gnu/gdb many years ago and their tools use lldb, which you already have. You can debug any .app from the command line with lldb or you can export your Laz project to Xcode and debug there, within Xcode with lldb. See ProjectXC notes here (2nd part of article):

https://macpgmr.github.io




argb32

  • Jr. Member
  • **
  • Posts: 89
    • Pascal IDE based on IntelliJ platform
Re: Debugger missing
« Reply #2 on: March 30, 2018, 09:34:50 pm »
You can also use I-Pascal which supports LLDB debugging backend.

 

TinyPortal © 2005-2018