Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-8663

Missed breakpoint using gdb with MinGW

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 3.2.0-beta1
    • Qt Creator 2.6.1
    • Debugger
    • None
    • Qt 4.8.4
      MinGW-builds GCC 4.6.3 rev 2 POSIX SJLJ
      Microsoft Windows XP Professional x64 Edition
    • bae81a71812ff69db0ed5a98af92c7d995678b08

    Description

      1. Create a console application in Qt Creator
      2. Switch to Debug build
      3. Set breakpoint on the first line in the main() function:
      QCoreApplication a(argc, argv);
      4. Start debugging

      It will miss the breakpoint.

      If you add getchar(); before the breakpoint line and debug again, wait for a few moments for debugger to start up and breakpoints to set and then press enter in the console, it will hit the breakpoint.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            net147 Jonathan Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes