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

Ctrl-C is not trigered

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • Qt Creator 4.2.1
    • Debugger
    • None
    • Linux Mint 18.1 x64
      GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1

    Description

      I have C++ app that registers for SIGINT. When I run it in Terminal outside of Qt Creator it works. But if I debug in Qt Creator with "run in terminal checked"
      Ctrl-C does not work. My main thread is sleeping in a loop checking other threads and checking if SIGINT was flagged to exit. When ever I press Ctrl-C or kill -2 from other terminal Qt debugger get interrupted in sleep. If I continue signal never get set so I can't test how application exits.

      Attachments

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

        Activity

          People

            hjk hjk
            oxoocoffee Robert J. Gebis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes