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

Cannot debug console app with gdb

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 1.3.83 (2.0.0-beta)
    • Debugger
    • None
    • Windows Vista 64, gdb 7.1.0.20100329-cvs

    Description

      I created a new Qt console app using Creator's wizard. I set it to run in terminal and replaced main.cpp with the following:

      #include <iostream>
      
      int main(int argc, char *argv[])
      {
          int i = 0;
          while(1)
              std::cout << "test " << ++i << std::endl;
      }
      
      

      I built this with MinGW. Running is fine but when I try to debug the terminal window opens without any visible output and that's it. Closing the terminal shows the attached popup.

      Attachments

        1. debugger.txt
          8 kB
        2. popup.png
          popup.png
          18 kB

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes