Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODEEXT-222

Natvis file path is wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 1.6.0, 1.8.0
    • Natvis
    • None
    • VSCodium 1.102.35058
    • Linux/Wayland

      In the `"name": "Qt: Debug with cppdbg and QML debugger"` configuration of `launch.json` (set up according to the docs), there is a `"visualizerFile": "${command:qt-cpp.natvis}"`, but this doesn't work for me on launch.

      When I launch my project, I get this error message:

      Cannot find the natvis file: /home/<username>/.vscode-oss/extensions/theqtcompany.qt-cpp-1.8.0-universal/res/natvis/qtopt.natvis

      The path is wrong on my machine. I can see there are qt5.natvis and qt6.natvis files in that directory but no qtopt.natvis. Making a symlink to qtopt.natvis that points to qt6.natvis works around this issue.

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

            qtvscodeteam Qt VS Code
            alextee Alexandros Theodotou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes