[SOLVED] Problems using debugger - “Cannot continue debugged process”



  • I am very new to Qt and Qt Creator. I am working on a C++ app, and when I try to set a breakpoint and start debugging, hitting F11 once takes me to what looks like machine code and then bounces me back to the line of code at the breakpoint. Hitting F11 again produces the following error:

    "Cannot continue debugged process"

    This happens pretty much anyplace I set a breakpoint and try to step into while debugging. I am running Qt Creator 2.0.1 for Windows (Qt 4.7.0) on Windows 7 Ultimate 64-bit.

    Any help would be appreciated.

    edit: expanded title -mariusg



  • Maybe you're trying to debug using release build configuration?
    Also update to Qt 4.7.3 and Qt Creator 2.2.1 if possible.



  • I am using my debug build configuration.

    I'll try upgrading my environment.



  • One point I should mention is that my project is stored in a DropBox directory, and I bounce back and forth between two machines (Windows 7 and Linux on one, Windows 7 only on the other). I haven't checked, but as I just installed Qt SDK on the second machine (Windows 7 Ultimate 64-bit only), I likely do have two different versions at play.

    I'll make sure they're all on the same version and see if that solves the problem.



  • Ok, I uninstalled the Qt SDK and reinstalled the latest version (2.2.1). It still isn't working. It will stop on a breakpoint, but when I hit F11, it doesn't step to the next line and shows "Stopped: 'end-stepping-range'".



  • Bah, nevermind. It appears I merely need to better familiarize myself with the debugger. :/



  • Hi Quasimojo,

    Could you explain steps you done to solve the problem “Cannot continue debugged process”. I encountered the same one in Qt Creator 5.2.0

    Thank you
    Igor


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.