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

Valgrind with GDB doesn't support some characters in command line argument

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.0.3
    • None

    Description

      I tried to debug my project with "Analyze/Valgrind Memory Analyzer with GDB" and got following error:
      Connecting to remote server failed:
      Remote communication error. Target disconnected:
      Connection was canceled by the other side.

      (the last sentence is a rough translation from Russian).

      At the same point just "Analyze/Valgrind Memory Analyzer" (without GDB) was working fine. I'd decided that the problem with GDB, but later found out that it just can't handle some characters in command line argument string (specified in Project\Run). At least "]" and "}" breaks connection to GDB. (without commas).

      I believe that error message is unclear and misleading. My proposal is to check the command line argument parameter and warn user that "Valgrind Memory Analyzer with GDB" won't work with such command line.

      Attachments

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

        Activity

          People

            hjk hjk
            truf Alexander Trufanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes