Hi,

I want to use Lazarus on my mac, and I went through the steps, installed the three packages at http://sourceforge.net/projects/lazarus/files/Lazarus%20Mac%20OS%20X%20i386/Lazarus%201.2.6/ . I also typed xcode-select --install into my terminal, which installed some necessary command line tools. The 'Configure Lazarus IDE' has recognised the compiler, FPC sources, and 'make', but says that the GNU debugger cannot be found, at /usr/bin/gdb. If I understood the things I read while googling correctly, XCode has switched to LLDB, and it was Apple itself that supplied gdb for Mac.

Where can I get a debugger for Pascal on Mac?

Thanks

Apple is putting a lot of effort into LLVM. Unfortunately, the LLVM debugger doesn't work with FPC (yet, AFAIK).

You'll either have to get an old copy of the GDB or install an older version of X-Code (you can do this side-by-side with your current version).

Alas, I don't have access to a Mac and I don't know any better than this. I just noticed that no one has answered your question...

Hope this helps.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.