GDB on OSX lazarus / 12-Debugger ---------------------------------------------------------------------- duncanparsons · 2010-03-24 18:00 Hi I'm running Laz 0.9.28.3 (r24092) and fpc 2.4.0 on OSX 10.4.11 (Intel) I have gdb selected as the debugger, and on starting a debug get the message '--arch option not supported in this gdb' Here and there things work, but when they don't (which is often) I get total machine freeze needing a reboot. Sometimes the freeze is when the first breakpoint is hit, a few times it's been on closing the application terminating the debug session. GDB version id 6.3.50-20050815 any ideas? is this an FP/Laz thing or GDB? thx, Duncan ---------------------------------------------------------------------- Jonas Maebe · 2010-03-24 20:10 Quote from: duncanparsons on March 24, 2010, 07:00:40 pmHere and there things work, but when they don't (which is often) I get total machine freeze needing a reboot. any ideas? is this an FP/Laz thing or GDB? A complete system freeze is almost by definition an OS issue. Regardless of what Lazarus or GDB does, the system should not freeze. It is of course possible that this situation may be avoided in some ways, but that will require someone with a system on which this problem occurs to figure out the cause somehow. ---------------------------------------------------------------------- Marc · 2010-03-24 22:23 I only know of these cases when debugging on linux - X. If you are debugging in the same X session as your app and you have a breakpoint inside a X event (say mousedown), then X freezes. I never saw this happen on OSX 10.4