* * *

Author Topic: Debugger missing  (Read 1248 times)

Cavender

  • New member
  • *
  • Posts: 5
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: 2749
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: 74
    • 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.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus