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

Debugger: Mingw / gcc 4.4 / Windows 64bit: Cannot interrupt debuggee

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4: Low
    • None
    • Qt Creator 2.1.0
    • Debugger

    Description

      Note:

      • Looks more like a known issue
      • Works on 32bit Windows

      This makes use of the Win32 API DebugBreakProcess() which reports back success. The Debugger reports:
      [New Thread 3660.0x13b8]
      >~"error return windows-nat.c:1279 was 299\n"
      >*running,thread-id="all"
      >=thread-exited,id="2",group-id="3660"
      sThread 2 in group 3660 exited

      Reproducible with the attached sample program, which can break applications only under CDB/not gdb. Ctrl-C in gdb works, though.

      Resolution: Known issue ATM, DebugBreakProcess must have same 'bitness' as the application.

      Attachments

        1. breakprocess.tgz
          0.6 kB
          Friedemann Kleint
        2. debugbreak.c
          2 kB
          Jonathan Liu
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            kleint Friedemann Kleint
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes