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

Cannot execute remote debugging

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 4.13.0, Qt Creator 5.0.3
    • Debugger
    • None
    • Windows

    Description

      I can't execute the remote debugging of my application with QtCreator and CDB on Windows even if I followed all the steps reported in the Documentation. This is what I did on the server machine:

      1. I installed the Debugging Tools for Windows and I have cdm.exe in the folder C:\Program Files (x86)\Windows Kits\10\Debuggers\x64.
      2. I copied qtcreatorcdbext.dll (64 bit) from my PC's folder C:\Qt\Tools\QtCreator\lib\qtcreatorcdbext64 to the server's new folder C:\lib\qtcreatorcdbext64.
      3. I set up the environment variable _NT_DEBUGGER_EXTENSION_PATH=C:\lib\qtcreatorcdbext64.
      4. I added to the environment variable PATH the path C:\Program Files (x86)\Windows Kits\10\Debuggers\x64.
      5. In the application folder from Powershell I ran the command: cdb.exe -server tcp:port=1234 .\Engine.exe
      6. In my PC I started the debugging session by QtCreator from Debug/Start Debugging/Attach to Remote CDB session... specifying <serverIp>:1234 as Connection.

      The connection was established but on the server side cdb.exe didn't find the library qtcreatorcdbext.dll.

      Attached is the error output of the cdb.exe command.

       

      Attachments

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

        Activity

          People

            davschul David Schulz
            elvisthepelvis Alvise Bendandi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes