Debug Output:
>> settings set -- frame-format "frame #${frame.index}: ${frame.pc}, {${frame.sp}}, {${frame.fp}} &&//FULL: {${line.file.fullpath}} &&//SHORT: {${line.file.basename}} &&//LINE: {${line.number}} &&//MOD: {${module.file.basename}} &&//FUNC: {${function.name-with-args}} <<&&//FRAME\n"
(lldb) settings set -- frame-format "frame #${frame.index}: ${frame.pc}, {${frame.sp}}, {${frame.fp}} &&//FULL: {${line.file.fullpath}} &&//SHORT: {${line.file.basename}} &&//LINE: {${line.number}} &&//MOD: {${module.file.basename}} &&//FUNC: {${function.name-with-args}} <<&&//FRAME\n"
>> settings set -- thread-format "thread #${thread.index}: tid=${thread.id%tid}: ${frame.pc}, {${frame.sp}}, {${frame.fp}} &&//FULL: {${line.file.fullpath}} &&//SHORT: {${line.file.basename}} &&//LINE: {${line.number}} &&//MOD: {${module.file.basename}} &&//FUNC: {${function.name-with-args}} <<&&//FRAME{, stop reason = ${thread.stop-reason}}\n"
(lldb) settings set -- thread-format "thread #${thread.index}: tid=${thread.id%tid}: ${frame.pc}, {${frame.sp}}, {${frame.fp}} &&//FULL: {${line.file.fullpath}} &&//SHORT: {${line.file.basename}} &&//LINE: {${line.number}} &&//MOD: {${module.file.basename}} &&//FUNC: {${function.name-with-args}} <<&&//FRAME{, stop reason = ${thread.stop-reason}}\n"
>> settings set -- thread-stop-format "thread #${thread.index}: tid=${thread.id%tid}: ${frame.pc}, {${frame.sp}}, {${frame.fp}} &&//FULL: {${line.file.fullpath}} &&//SHORT: {${line.file.basename}} &&//LINE: {${line.number}} &&//MOD: {${module.file.basename}} &&//FUNC: {${function.name-with-args}} <<&&//FRAME{, stop reason = ${thread.stop-reason}}\n"
(lldb) settings set -- thread-stop-format "thread #${thread.index}: tid=${thread.id%tid}: ${frame.pc}, {${frame.sp}}, {${frame.fp}} &&//FULL: {${line.file.fullpath}} &&//SHORT: {${line.file.basename}} &&//LINE: {${line.number}} &&//MOD: {${module.file.basename}} &&//FUNC: {${function.name-with-args}} <<&&//FRAME{, stop reason = ${thread.stop-reason}}\n"
>> target stop-hook add -o "thread list"
(lldb) target stop-hook add -o "thread list"
Stop hook #1 added.
>> settings set -- stop-line-count-after 0
(lldb) settings set -- stop-line-count-after 0
>> settings set -- stop-line-count-before 0
(lldb) settings set -- stop-line-count-before 0
>> settings set -- stop-disassembly-count 0
(lldb) settings set -- stop-disassembly-count 0
>> settings set -- target.env-vars "OSLogRateLimit=64"
(lldb) settings set -- target.env-vars "OSLogRateLimit=64"
>> settings set -- target.env-vars "USER=geraldholdsworth"
(lldb) settings set -- target.env-vars "USER=geraldholdsworth"
>> settings set -- target.env-vars "COMMAND_MODE=unix2003"
(lldb) settings set -- target.env-vars "COMMAND_MODE=unix2003"
>> settings set -- target.env-vars "__CFBundleIdentifier=lazarus.freepascal.ide"
(lldb) settings set -- target.env-vars "__CFBundleIdentifier=lazarus.freepascal.ide"
>> settings set -- target.env-vars "PATH=/usr/bin:/bin:/usr/sbin:/sbin"
(lldb) settings set -- target.env-vars "PATH=/usr/bin:/bin:/usr/sbin:/sbin"
>> settings set -- target.env-vars "LOGNAME=geraldholdsworth"
(lldb) settings set -- target.env-vars "LOGNAME=geraldholdsworth"
>> settings set -- target.env-vars "SSH_AUTH_SOCK=/var/run/com.apple.launchd.tDj4KHifWh/Listeners"
(lldb) settings set -- target.env-vars "SSH_AUTH_SOCK=/var/run/com.apple.launchd.tDj4KHifWh/Listeners"
>> settings set -- target.env-vars "HOME=/Users/geraldholdsworth"
(lldb) settings set -- target.env-vars "HOME=/Users/geraldholdsworth"
>> settings set -- target.env-vars "SHELL=/bin/zsh"
(lldb) settings set -- target.env-vars "SHELL=/bin/zsh"
>> settings set -- target.env-vars "TMPDIR=/var/folders/sp/r7dyc78d19j36ftwtmckmr3w0000gn/T/"
(lldb) settings set -- target.env-vars "TMPDIR=/var/folders/sp/r7dyc78d19j36ftwtmckmr3w0000gn/T/"
>> settings set -- target.env-vars "__CF_USER_TEXT_ENCODING=0x1F5:0:2"
(lldb) settings set -- target.env-vars "__CF_USER_TEXT_ENCODING=0x1F5:0:2"
>> settings set -- target.env-vars "XPC_SERVICE_NAME=application.lazarus.freepascal.ide.153620829.153604941"
(lldb) settings set -- target.env-vars "XPC_SERVICE_NAME=application.lazarus.freepascal.ide.153620829.153604941"
>> settings set -- target.env-vars "XPC_FLAGS=0x0"
(lldb) settings set -- target.env-vars "XPC_FLAGS=0x0"
>> settings set -- target.process.thread.step-avoid-regexp ""
(lldb) settings set -- target.process.thread.step-avoid-regexp ""
>> target create '/Users/geraldholdsworth/Library/Mobile Documents/com~apple~CloudDocs/Programming/Lazarus/ReptonMapCreator/lib/Debug/aarch64-darwin/ReptonMapCreator.app'
(lldb) target create '/Users/geraldholdsworth/Library/Mobile Documents/com~apple~CloudDocs/Programming/Lazarus/ReptonMapCreator/lib/Debug/aarch64-darwin/ReptonMapCreator.app'
Current executable set to '/Users/geraldholdsworth/Library/Mobile Documents/com~apple~CloudDocs/Programming/Lazarus/ReptonMapCreator/lib/Debug/aarch64-darwin/ReptonMapCreator.app' (arm64).
>> settings clear target.run-args
(lldb) settings clear target.run-args
>> breakpoint set --func fpc_break_error -K false
(lldb) breakpoint set --func fpc_break_error -K false
Breakpoint 1: no locations (pending).
>> breakpoint set --func fpc_runerror -K false
WARNING: Unable to resolve breakpoint to any actual locations.
(lldb) breakpoint set --func fpc_runerror -K false
Breakpoint 2: no locations (pending).
>> breakpoint set --func fpc_raiseexception -K false
WARNING: Unable to resolve breakpoint to any actual locations.
(lldb) breakpoint set --func fpc_raiseexception -K false
Breakpoint 3: where = ReptonMapCreator`FPC_RAISEEXCEPTION, address = 0x0000000100019030
>> breakpoint command add 3
>> p/x $x0
>> p/x $x2
>> p ((char ***)$x0)[0][3]
>> p ((char **)$x0)[1]
>> DONE
>> version
(lldb) breakpoint command add 3
(lldb) version
>> breakpoint command add 2
>> p/x $x0
>> DONE
>> version
lldb-2103.0.34.407
Apple Swift version 6.4.2 (swiftlang-6.4.2.1.9 clang-2100.4.1.1)
(lldb) breakpoint command add 2
(lldb) version
>> breakpoint command add 1
>> p/x $x0
>> DONE
>> version
lldb-2103.0.34.407
Apple Swift version 6.4.2 (swiftlang-6.4.2.1.9 clang-2100.4.1.1)
(lldb) breakpoint command add 1
(lldb) version
>> settings set -- target.process.thread.step-avoid-regexp ""
lldb-2103.0.34.407
>> process launch -n -w /Users/geraldholdsworth/Library/Mobile Documents/com~apple~CloudDocs/Programming/Lazarus/ReptonMapCreator/lib/Debug/aarch64-darwin/
Apple Swift version 6.4.2 (swiftlang-6.4.2.1.9 clang-2100.4.1.1)
(lldb) settings set -- target.process.thread.step-avoid-regexp ""
(lldb) process launch -n -w /Users/geraldholdsworth/Library/Mobile Documents/com~apple~CloudDocs/Programming/Lazarus/ReptonMapCreator/lib/Debug/aarch64-darwin/
error: No such file or directory: /Users/geraldholdsworth/Library/Mobile
>> process kill
>> quit
Terminal output:
Hint: (lazarus) SetPrimaryConfigPath NewValue="/Users/geraldholdsworth/Lazarus 5.0/config"
Hint: (lazarus) Using config file: "/Users/geraldholdsworth/Lazarus 5.0/lazarus.cfg"
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] PrimaryConfigPath="/Users/geraldholdsworth/Lazarus 5.0/config"
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] SecondaryConfigPath="/etc/lazarus"
Hint: (lazarus) [TMainIDE.LoadGlobalOptions] overriding Lazarusdir with command line: /Users/geraldholdsworth/Lazarus 5.0/
Hint: (lazarus) [TMainIDE.DoOpenProjectFile] "/Users/geraldholdsworth/Library/Mobile Documents/com~apple~CloudDocs/Programming/Lazarus/ReptonMapCreator/ReptonMapCreator.lpi"
Hint: (lazarus) [TBuildManager.SetBuildTarget] Old=aarch64-darwin--cocoa New=aarch64-darwin--cocoa Changed: OS/CPU=True LCL=False
InitOpenedProjectFile select form in designer: CharEditForm:TCharEditForm TDesigner
----------------
Hint: (lazarus) [TMainIDE.DoRunProjectWithDebug] INIT
Note: (lazarus) [TMainIDE.DoBuildProject] MainBuildBoss.DoCheckIfProjectNeedsCompilation nothing to be done
Hint: (lazarus) [TMainIDE.DoRunProjectWithDebug] Debugger=TFpLldbDebugger
Hint: (lazarus) [TMainIDE.DoRunProjectWithDebug] END
I was about to try uninstalling Lazarus and then re-installing, see if that made a difference.