Re: [Qt-creator] DYLD_IMAGE_SUFFIX and OS X

2010-10-04 Thread Eike Ziller

On Sep 4, 2010, at 1:54 AM, ext Willy P wrote:

> Hey,
> I want to be able to see the Qt source code in my debugger.
> 
> I'm running OSX.5
> qt 4.6.3 installed w/ click through installer
> and Creator 2.01
> 
> I have set DYLD_IMAGE_SUFFIX = _debug in:
> 
> projects->build settings->build environment.
> 
> This setting is also reflected in the
> 
> projects->build settings->run settings
> 
> I have also checked the "Use debug version of frameworks checkbox in
> run settings.
> 
> When I run my app in the debugger it still says:
> 
> Unable to read symbols for "QtGui.framework/Versions/4/QtGui" (file not 
> found).
> Unable to read symbols from "QtGui" (not yet mapped into memory).
> Unable to read symbols for "QtCore.framework/Versions/4/QtCore" (file
> not found).
> Unable to read symbols from "QtCore" (not yet mapped into memory).
> 
> And I only see assembly code for Qt functions.
> 
> Any thoughts?

The reason is that the Qt binary packages don't come with the Qt sources. So 
you'll not be able to see them. The only way I know of how you can step into Qt 
sources on Mac, is by compiling Qt yourself and using that version. Though 
there might be some way to download the Qt sources and trick gdb into finding 
these sources.

Br, Eike
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


[Qt-creator] DYLD_IMAGE_SUFFIX and OS X

2010-09-03 Thread Willy P
Hey,
I want to be able to see the Qt source code in my debugger.

I'm running OSX.5
qt 4.6.3 installed w/ click through installer
and Creator 2.01

I have set DYLD_IMAGE_SUFFIX = _debug in:

projects->build settings->build environment.

This setting is also reflected in the

projects->build settings->run settings

I have also checked the "Use debug version of frameworks checkbox in
run settings.

When I run my app in the debugger it still says:

Unable to read symbols for "QtGui.framework/Versions/4/QtGui" (file not found).
Unable to read symbols from "QtGui" (not yet mapped into memory).
Unable to read symbols for "QtCore.framework/Versions/4/QtCore" (file
not found).
Unable to read symbols from "QtCore" (not yet mapped into memory).

And I only see assembly code for Qt functions.

Any thoughts?

-Willy
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator