[webkit-dev] Made a debug build of WebKit.Framework. GDB ignores breakpoints?
ejpbruel at gmail.com
Wed Nov 18 09:06:43 PST 2009
I recently found a potential bug in WebKit:
It's fairly crucial for me that this feature should work as advocated (or
that there is at least
a possible workaround for it), so I thought I'd take a shot a finding the
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
WebKit.Framework/Headers directory. I can now set breakpoints in my own
code, and then
do a stack trace to see which WebKit source file I came from.
Problem is, next I tried setting breakpoints in these source files,
but these seem to be
completely ignored by GDB altogether. It stops execution just fine on the
breakpoints in my
own source file, just not on those in the WebKit source files (even though
these functions are
part of the stack trace, and are therefore definitely being called).
Without any way of setting breakpoints in the WebKit source code I have no
realistic hope of
ever finding the problem myself, so I hope you guys can help me out here. Is
obvious that I'm doing wrong here? I'm fairly new at debugging external
libraries, so maybe I
am overlooking something.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev