That could be an approach. I have tried using Lazarus under OSX but it doesn't even start. I got a bit disencouraged from that.
Naturally, the IDE should have some debugging support, otherwise I'd have to debug through the CLI of GDB (not very fun IMHO) or with WriteLn (I'd rather not).
Bookmarks