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

Cannot debug console app with gdb

XMLWordPrintable

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

      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.

        1. debugger.txt
          8 kB
        2. popup.png
          popup.png
          18 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes