[Insight-users] Debugging ITK/VTK/KWWidgets apps using GDB on OS X -- How to speed up loading programs immensely!

kent williams nkwmailinglists at gmail.com
Mon Aug 3 15:30:53 EDT 2009


Add

set locate-dsym 0

to your ~/.gdbinit file.

Apparently Apple 'enhanced' gdb to use Spotlight to search for symbols
in some painfully slow fashion.  If you turn that baloney off loading
a program with a lot of libraries (like any interactive application
you develop using ITK and VTK) load time goes down to seconds from
minutes.


More information about the Insight-users mailing list