Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Debugging using Qt Creator + MSVC 2010 Express SP1 (+ CMake)
Qt 6.11 is out! See what's new in the release blog

Debugging using Qt Creator + MSVC 2010 Express SP1 (+ CMake)

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 2.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.
  • A Offline
    A Offline
    agarny
    wrote on last edited by
    #1

    Hi,

    I have, on Windows, set up Qt Creator to work with MSVC 2010 Express SP1. In order to be able to debug, I had (as mentioned somewhere on the Qt website) to install the Debugging Tools for Windows, and then make sure that CDB could be found by Qt Creator.

    All of the above works perfectly fine. If I build one of Qt's examples, I can step over/into/out of the code, set up breakpoints, etc. I (obviously?) can't step into Qt's code itself, since the symbols (PDB files) are not provided (I believe I would have to build Qt myself for that?).

    Now, my 'problem' is that I use the binary version of a third-party library. It was built using MSVC 2010 and comes as a DLL (but no PDB file, so as Qt itself) and it all works fine, except that I cannot debug any of my code which relies on that third-party library. Say that I set up a breakpoint in my code, then Qt Creator will never stop there. On the other hand, if I set up a breakpoint somewhere before that third-party library gets loaded, then Qt Creator will stop as expected.

    So... what am I missing, if anything?...

    Cheers, Alan.

    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