Forum > Debugger

Debugger missing

(1/1)

Cavender:
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:

--- Quote from: Cavender 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?

--- End quote ---

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:
You can also use I-Pascal which supports LLDB debugging backend.

Navigation

[0] Message Index

Go to full version