The debugger crashing might be related to the "unknown stabs type" error when linking, which I've learned is an XCode 3.x linker problem and has to be worked around by adding "-gw2 -godwarfsets" when compiling Lazarus and laz projects. Using those options allows linking to proceed without any errors. I also make sure my laz projects are compiled with those options.
However, now the debugger doesn't work in Lazarus. Sometimes it doesn't load, and when it does, trying to stop the debugger or end the running program crashes Lazarus itself (not the project app) with an "Access violation" message. Activity monitor shows gdb running in 64-bit mode. This is the new gdb installed with XCode 3.2.2. There doesn't seem to be a way to force it to run in 32-bit mode. Thinking this may be a 64-vs-32bit issue (but not sure), I tried to compile Lazarus as a 64-bit application. I could not do this, since the carbon widgetset requires 32-bit mode (lots of compilation errors about pointers), and I can't seem to get the cocoa widgetset to compile either, though for different reasons. So, my questions. Do any of the Mac devs have Snow Leopard 10.6.3 and XCode 3.2.2? Is gdb running in 64-bit mode the source of the debugging problems? If so, is it possible to compile Lazarus as a 64-bit application on OS X? -- John
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
