Debugger won't execute lazarus / 12-Debugger ---------------------------------------------------------------------- julgus · 2016-10-11 12:42 macOS Sierra, iMac 27" I have followed the instructions given at: https://sourceware.org/gdb/wiki/BuildingOnDarwin#Giving_gdb_permission _to_control_other_processes%7Cofficial I get the following message when trying to run my app: During startup program terminated with signal SIGTRAP, Trace/breakpoint trap Clues? ---------------------------------------------------------------------- julgus · 2016-10-11 13:18 Seems to be something with macOS Sierra. If I disabled csrutil it works. ---------------------------------------------------------------------- cpbns · 2016-11-03 19:37 in my test under Sierra 10.12.1 it fails again! The problem isn't fixed. May be the coming update 12.2. can help. ---------------------------------------------------------------------- Phil · 2016-11-03 19:45 Quote from: cpbns on November 03, 2016, 08:37:06 pmin my test under Sierra 10.12.1 it fails again! The problem isn't fixed. May be the coming update 12.2. can help. I doubt it. See the recent discussion (Oct 28 and later) here: http://forum.lazarus.freepascal.org/index.php/topic,34165.15.html Solution for now is to use Xcode's lldb debugger from Terminal command line.