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. Can't debug a specific project
Qt 6.11 is out! See what's new in the release blog

Can't debug a specific project

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 690 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.
  • M Offline
    M Offline
    MocciJ
    wrote on last edited by
    #1

    Hi,
    A project that I was working on for several years stopped being debuggable after I specified different build directories for release and debug builds in the Projects pane. The project builds fine, and even generates the associated .pdb files (compiling in Windows), but all the breakpoints show the hourglass and thus are not triggered. I have tried updating the Qt libraries from 5.10 to 5.12, and tried rebuilding several times to no avail. What should I do to diagnose eventual path mismatches? I'm using MSVC cdb to debug and it doesn't throw any error, stopping the execution just shows assembly code.

    M 1 Reply Last reply
    0
    • M MocciJ

      Hi,
      A project that I was working on for several years stopped being debuggable after I specified different build directories for release and debug builds in the Projects pane. The project builds fine, and even generates the associated .pdb files (compiling in Windows), but all the breakpoints show the hourglass and thus are not triggered. I have tried updating the Qt libraries from 5.10 to 5.12, and tried rebuilding several times to no avail. What should I do to diagnose eventual path mismatches? I'm using MSVC cdb to debug and it doesn't throw any error, stopping the execution just shows assembly code.

      M Offline
      M Offline
      MocciJ
      wrote on last edited by
      #2

      I solved the problem, in the .pro file, the QT and TEMPLATE directives had to be placed before all the other commands.

      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