Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Debugging without entering into the Qt Libraries/Famework (set auto-solib-add off ???)

Debugging without entering into the Qt Libraries/Famework (set auto-solib-add off ???)

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 2 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    PALYGAP
    wrote on last edited by
    #1

    Hi,

    I am trying to debug a program an using "step into" command I often enter the Qt Libraries/Famework source code. I would like to avoid doing that.

    Searching the WEB ("link":http://stackoverflow.com/questions/1448426/how-to-avoid-entering-librarys-source-files-while-debugging-in-qt-creator-with)I found that it seem possible by using the GDB command :
    set auto-solib-add off

    I tried to but it in the Tools->Options->Debugger->Gdb->Additional Startup Command text box. But that does not work.

    I also some posts that said that adding the command to the .gdbinit file was working. Tried it but didn't get it to stop the display of the Qt source code

    Anybody has experienced with that and got it to work ?

    Eric

    CONFIQ
    Qt Creator version 3.11
    Qt 5.2.1 (GCC 4.6.1, 32 bit)
    DEBIAN Linux Wheezy

    1 Reply Last reply
    0
    • P Offline
      P Offline
      PALYGAP
      wrote on last edited by
      #2

      BUMP,

      Looks like nobody is doing that. True ?

      Do people just enter debug on the Qt Lib and just do a STEP OUT ???

      Cheers

      1 Reply Last reply
      0
      • P Offline
        P Offline
        PALYGAP
        wrote on last edited by
        #3

        Allez encore un rebond. BUMP again.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andrep
          wrote on last edited by
          #4

          I'd guess people mainly use 'step over' (F10) for thing they do to want to step into, and 'step out' (Shift-F11) in cases they accidentally enter something they don't want to see.

          Apart from that, "set auto-solib-add off" wouldn't solve your problem. GDB would still step in, but wouldn't resolve sources, so you'd end up stepping through disassembler.

          Simply don't use 'step in' if you don't want to step in.

          1 Reply Last reply
          0
          • P Offline
            P Offline
            PALYGAP
            wrote on last edited by
            #5

            Thanks for the explanation about GDB.

            Seems like the only way is using 'step out' if one get to the Qt lib.

            May that is a feature that should be developed cause when one is programming a new soft or debugging, there is no need to start going over the Qt lib code AFAIK.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved