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

MSVC: Embed debug visualizer definitions in PDB

XMLWordPrintable

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

      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.)

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes