Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-83396

MSVC: Embed debug visualizer definitions in PDB

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • None
    • Build System
    • None
    • Windows, WinRT

    Description

      The MSVC linker allows embedding debugger visualization definitions (.natvis files) into output PDB's. Each Qt module could include its own visualizer file(s) to be embedded in the PDB generated by a debug build of that module. Debugging Qt applications in Visual Studio using these natvis-enhanced PDB's would then allow custom visualization of Qt types in the "Watch" window, instead of the default "raw" view. This would be possible just by linking to the Qt libraries. No additional extension/add-in would then be required.

      (In what concerns the Qt Visual Studio Tools extension, having the .natvis files embedded in the Qt libraries eliminates the risk that the .natvis installed by the extension and the types in the Qt libraries are out of sync.)

      Attachments

        Issue Links

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

          Activity

            People

              jbornema Joerg Bornemann
              mecfc Miguel Costa
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes