[Qt-creator] [Fwd: Debugging shared library, how to?]
André Pönitz
andre.poenitz at nokia.com
Tue Mar 17 14:38:17 CET 2009
On Tuesday 17 March 2009 13:52:17 ext Abdelrazak Younes wrote:
> Hi there,
Hi Abdel ;-)
> I have program P that used shared library L. In the project settings of
> P, I defined L as a dependency.
> Now, I can put a breakpoint in P and the debugger will correctly stop
> there. So far so good. But putting a breakpoint in the shared lib will
> not work. The red breakpoint icon presents an hourglass which I guess
> means that there is a problem.
Yes, it means that Creator knows that you want a breakpoint there but
gdb did not yet acknowledge.
> Is there something I am doing wrong?
Not necessarily. Could you send me the output of the right pane
of the Gdb View (Debug -> Views -> Gdb) and possibly a bit of
the context around the line you want set the breakpoint on
in private mail? (Breakpoints in costructors tend to be fragile
for instance...)
> I use latest Qtcreator git compiled ungainst Qt4.5.0.
That's the prefered setup indeed.
Andre'
More information about the Qt-creator-old
mailing list