[Qt-interest] OSX debugger

Trygve Isaacson trygve at gmail.com
Fri Aug 28 20:00:52 CEST 2009


On Fri, Aug 28, 2009 at 10:48 AM, Info <info at misafe.com> wrote:

> Can anyone recommend a good graphical debugger for OSX? I'm developing
> a cross-platform application using Visual Studio in Windows and GDB in
> OSX and I'm finding it much quicker to debug in Windows due to the
> graphical nature of the debugger (Visual Studio and Windbg) but can't
> find anything similar for OSX (Other than Insight which I can't seem
> to get running). Does anyone have any recommendations? What do you use?


I would assume you are using Apple's XCode IDE, but it sounds like you
aren't even aware of it. It provides a graphical interface on top of GCC and
GDB, just like Visual Studio does for VC++ and the Microsoft debugger. (I
think it is much superior to VS in many ways, including the debugger
functionality and usability.)

If you tell QMake to generate an XCode project (using -spec macx-xcode),
then you just open the .xcodeproj file with XCode, build, run, debug, etc.
using the IDE. Set breakpoints, run, step, view variables (and not just a
global int-or-hex format choice like VS), and so on. You can dip into the
GDB command line if you need to, but I almost never do.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090828/4953e463/attachment.html 


More information about the Qt-interest-old mailing list