Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-354

QVector, QMap and other templates do not display a preview value in the debugger

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 1.2.2
    • General
    • None
    • vs2010 sp1, QtVsAddon 1.2.2, Qt 5.2.0 (online installer)

    Description

      When debugging in Visual Studio, the VS debugger displays previews of
      data content in containers via the autoexp.dat file. VSAddon patches this file to display Qt types accordingly, but this is broken with VS2010 and Qt5.
      Instead, only "error" is displayed, which makes Qt virtually unusable with the VS debugger.

      A solution for QVector can be found here:

      http://stackoverflow.com/questions/15805378/visual-studio-add-in-for-qt5-still-gives-errors

      That works, but i was unable to get QMap<> to work.

      Attachments

        1. !!.txt
          1 kB
        2. qtvsbug.PNG
          qtvsbug.PNG
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mecfc Miguel Costa
            fover felixover
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes