[Qt-creator] Problem setting breakpoints in shared library code
Andre Poenitz
andre.poenitz at mathematik.tu-chemnitz.de
Sat Apr 10 20:29:44 CEST 2010
On Sat, Apr 10, 2010 at 06:08:10PM +0100, Jon Crowe wrote:
> Hello,
>
> Qt-Creator V.1.3.1 on linux, using gcc and gdb.
>
> I have a subdirs project that has two sub projects: a test application, and
> a shared library. These build and run successfully. I can set breakpoints in
> the test application before running that are hit correctly during debugging.
>
> However, any breakpoints in the shared library code that are set before
> running do not get hit. Once the shared library is loaded on running the
> test application, I can set breakpoints in the shared library code that
> interrupt correctly.
>
> Is there any way I can set breakpoints in the shared library code before
> running that will be honoured by gdb?
There are options to 'Use Full Paths for Breakpoints' or such, and
at some time there was also a choice on whether to set breakpoints
in shared libraries at all. I am not sure 1.3.1 has it, though.
In any case, could you please attach the debugger log (right pane of
Debug->Views->Debugger)?
[And, of course, if it's an option check out the 2.0alpha]
Andre'
More information about the Qt-creator-old
mailing list