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. [SOLVED] Debugger Fails to Catch Breakpoints

[SOLVED] Debugger Fails to Catch Breakpoints

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 977 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.
  • B Offline
    B Offline
    bubbleking2
    wrote on last edited by
    #1

    Hello,
    I am running Qt Creator on a 64-bit Windows 7 system. The problem that I am having is that when I set a breakpoint near the beginning of a short MinGW application, the debugger fails to catch the breakpoint and I am greeted with the messages,
    "During startup program exited with code 0x0."
    and
    "The gdb process exited unexpectedly (code 0)".
    This bug only occurs when attempting to debug a MinGW application with "Run in terminal" checked within the Run Settings of the project. It appears to be the same as https://bugreports.qt-project.org/browse/QTCREATORBUG-6141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel unfortunately, whatever fix was applied for bug 6141 does not seem to work anymore. Does anyone know if there is a workaround for this bug besides adding a system("pause") statement at the top of the main() function and waiting for the breakpoints to load or running the desired application from outside of the terminal?

    [SOLVED]
    I was using the old version of Qt Creator that came with the Qt SDK. Upon installing the new version, everything works.

    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