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

Debugger executable path incorrect when attaching to a process

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.15.0-beta1
    • Qt Creator 4.12.3
    • Debugger
    • None
    • macOS
    • 108d06c83fc269577d3d9081419f169466c6f577 (qt-creator/qt-creator/master)

    Description

      When attaching the debugger to a running process (Debug > Start Debugging > Attach to Running Application), the string containing the path to the process executable is incorrect whenever there is whitespace in the path.

      For example, if the executable was found at

      /Applications/My\ App.app/Contents/MacOS/My\ App

      then the variable dExecutable would be evaluatedĀ 

      dExecutable = "/Applications/My"

      and the debugging session would fail.

      Attachments

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

        Activity

          People

            hjk hjk
            benleadbetter Benedict Leadbetter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes