Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to Debug Lib

How to Debug Lib

Scheduled Pinned Locked Moved General and Desktop
9 Posts 5 Posters 5.2k Views
  • 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.
  • Q Offline
    Q Offline
    qwertyuiopearendil
    wrote on last edited by
    #1

    Hi All,

    Some of you know how can i debug an external static lib done by me?

    Thanks

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      How can a static library done by yourself be external?

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        qwertyuiopearendil
        wrote on last edited by
        #3

        Sorry I don't explain the scenario in right way...

        I've created a Static Lib and i've usde it into my Project. Now I'd like to debug some code into my Lib.

        This is the right scenario.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          A static library becomes part of your executable, so just debug it normally. Where exactly is the problem?

          PS: Of course you need to make sure to build both the static library and the rest of the application with debug symbols.

          1 Reply Last reply
          0
          • O Offline
            O Offline
            ostash
            wrote on last edited by
            #5

            Build your static library with enabled debugging symbols, than build your application, and debug your application.

            1 Reply Last reply
            0
            • Q Offline
              Q Offline
              qwertyuiopearendil
              wrote on last edited by
              #6

              Thanks a lot.

              1 Reply Last reply
              0
              • B Offline
                B Offline
                bobekfpj
                wrote on last edited by
                #7

                Hi

                I have the same problem with creator 3.2.1
                So far after i updated my qt to newest version the whole thing sucks

                I have two projects
                One is compiled as debug into library
                Second one is using that library
                Both are opened in creator
                I can debug only one project at the time and i can not see source codes of my library

                Above scenario worked with old creator i used but not with 3.2.1

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  tobias.hunger
                  wrote on last edited by
                  #8

                  Have you considered "filing a bug report":http://bugreports.qt.nokia.com/ ?

                  1 Reply Last reply
                  0
                  • Z Offline
                    Z Offline
                    ZapB
                    wrote on last edited by
                    #9

                    [quote author="bobekfpj" date="1319738311"]
                    I have the same problem with creator 3.2.1
                    So far after i updated my qt to newest version the whole thing sucks
                    [/quote]

                    I assume you mean 2.3.1. If this is reproducible then please file a bug including exact instructions on how to trigger it including the platform and toolchain in use.

                    Nokia Certified Qt Specialist
                    Interested in hearing about Qt related work

                    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