Results 1 to 2 of 2

Thread: Breakpoings in my shared library project not working

  1. #1
    Join Date
    May 2009
    Posts
    16
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Breakpoings in my shared library project not working

    Greets.

    I'm having an issue getting breakpoints to work inside a shared library project. I can set breakpoints in the code that generates my executable, but they never resolve (they keep the hourglass icon) when I try to set them in the library code. Furthermore, I can't step into them when I'm debugging.

    Some system info:
    * I'm running 64-bit Fedora 14
    * I'm using QT Creator 2.0.1 and Qt 4.7.0
    * My gdb version string is "GNU gdb (GDB) Fedora (7.1-34.fc13)"
    * I built both the executable and the shared library with debugging
    * I ran the executable in gdb from the command line, and was able to set a breakpoint at a place inside the shared library. It worked there. (That is, all of the debug info files are installed correctly)
    * I currently have "use full path information to set breakpoints" selected, although I have tried it both ways, and neither work.
    * I'm not getting any gdb-related application output that would indicate what the problem is.

    Anyone have any idea what to do about this? I'm lost, and I've tried pretty much everything I could find, but nothing seems to be working.

  2. #2
    Join Date
    May 2008
    Posts
    155
    Thanked 15 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Breakpoings in my shared library project not working

    The setup looks ok. Are there any files sharing the same name in the project (even if compiled into different libraries or such)?

    There's plenty of gdb output in Windows->Views->Debugger, seeing that would be helpful.

    In any case, this smells a bit like a bugreport at bugreports.qt.nokia.com is in order.

Similar Threads

  1. how to use shared library
    By assismvla in forum Qt Programming
    Replies: 3
    Last Post: 25th September 2009, 21:29
  2. Shared Library Creation
    By tntcoda in forum Qt Programming
    Replies: 1
    Last Post: 31st January 2009, 23:48
  3. Qt/Mac Shared Library
    By nareshqt in forum Qt Programming
    Replies: 0
    Last Post: 21st April 2008, 07:21
  4. shared library problem
    By nhatkhang in forum KDE Forum
    Replies: 9
    Last Post: 28th November 2006, 04:07
  5. HOW TO - created and use shared library (.so)
    By big4mil in forum Qt Programming
    Replies: 4
    Last Post: 25th November 2006, 23:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.