Recent

Author Topic: Debugging with Lazarus on the Apple Mac  (Read 2361 times)

carl_caulkett

  • Sr. Member
  • ****
  • Posts: 306
Debugging with Lazarus on the Apple Mac
« on: March 17, 2018, 11:07:57 pm »
Hello. I haven't done much with Lazarus for a few months. I've been busy learning Golang and getting stuck into music making with Logic Pro X. What's the latest wrt debugging on the Apple Mac. Last I saw, Phil had come up with a workable solution involving Xcode and LLDB. Meanwhile, some progress had been made with VSCode + various plugins, but nothing that worked too well. To be honest that was a significant factor in me finding other things to do. But it's spring 2018. What's new? Give me good news about the awesome progress that the Lazarus boys and girls have made!
"It builds... ship it!"

Mac Mini M1
macOS 13.6 Ventura
Lazarus 2.2.6 (release version)
FPC 3.2.2 (release version)

dbannon

  • Hero Member
  • *****
  • Posts: 2786
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Debugging with Lazarus on the Apple Mac
« Reply #1 on: March 18, 2018, 07:42:01 am »
Carl, I am routinely debugging on a Sierra system using gdb. It all works OK except you cannot trace memory leaks back to their source. If you have a memory leak, it gets reported but not in a way that points directly to your code.

Its a step by step install, laborious but not hard, do follow all the steps, don't skip anything and you will be fine.

http://wiki.freepascal.org/Installing_Lazarus_on_MacOS_X

Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

 

TinyPortal © 2005-2018