Hi Jonas, if I use plain -g I get: [TCmdLineDebugger] Debug PID: 15860 TGDBMIDebugger.ProcessResult Error: ,msg="No symbol table is loaded. Use the \"file\" command." [Debugger] Running GDB version: Apple version gdb-437 [TDebugger.SetFileName] "/Users/hg/Downloads/@compiled/simple.app" [TMainIDE.DoRunProject] B TGDBMIDebugger TGDBMIDebugger.StartDebugging WorkingDir="/Users/hg/Downloads/@compiled/" TGDBMIDebugger.ProcessResult Error: ,msg="No symbol \"FPC_THREADVAR_RELOCATE_PROC\" in current context." [Debugger] Log output: &"info functions FPC_CPUINIT\n" [Debugger] Log output: &"info address main\n" [Debugger] Log output: &"info file\n" [Debugger] File type: mach-o-be [Debugger] Entry point: $000023b0 [WARNING] Debugger: Unexpected async-record: =shlibs-updated
and if I hit a button on my simple app, the app hangs and I do not get to the break-point of the button on-click event (and no more output on console) -- Hinnack >-Xg can only work with DWARF on Mac OS X. Either use -gw -Xg or plain - >g without -Xg. > > >Jonas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal