Before starting to debug, see the menu item Debug->Show-
>SharedLibraries...
See that the default for "User Libraries" is "Default (External)".
That means that anything that is NOT being built by your project (i.e.
the WebCore framework), when it gets loaded, will only load exported
symbols. You're not hitting the breakpoints because it's not loading
the symbols for WebCore so can't resolve the breakpoints.
In Preferences->Debugging, turn OFF "Load symbols lazily" and that
should allow you to debug without keeping the WebCore library open.
Don't know if you have to quit Xcode and relaunch in order to make
that stick, you might have to.
Rudi
On Nov 19, 2009, at 7:07 AM, Eddy Bruël wrote:
Problem solved. If I keep the XCode project for WebCore open whilst
debugging my own application, breakpoints suddenly work.
On Thu, Nov 19, 2009 at 3:40 PM, Eddy Bruël <[email protected]>
wrote:
---------- Forwarded message ----------
From: Eddy Bruël <[email protected]>
Date: Thu, Nov 19, 2009 at 3:40 PM
Subject: Re: [webkit-dev] Made a debug build of WebKit.Framework.
GDB ignores breakpoints?
To: Alexey Proskuryakov <[email protected]>
I have now. I built my application against the WebKit Framework that
came with OS X,
then tried setting as custom executable in the WebCore project.
Running it starts my
project, alright, but any breakpoints I set in Webcore source files
are still merrily
ignored by GDB. What's going on?
On Wed, Nov 18, 2009 at 7:22 PM, Alexey Proskuryakov <[email protected]>
wrote:
18.11.2009, в 9:06, Eddy Bruël написал(а):
I've checked out the most recent WebKit sources, and made a debug
build. I then linked my
program against the resulting WebKit.Framework, and used the headers
in the corresponding
WebKit.Framework/Headers directory
Did you try the steps in <http://webkit.org/building/debug.html>?
There is no need to rebuild your application against a local WebKit
build.
- WBR, Alexey Proskuryakov
<ATT00001.txt>
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev