XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 2.8.1
    • 2.5.2
    • General
    • None
    • VS2017 QT5.12 QTVSTOOL2.5.2.1
    • Windows
    • a29a31e946c627a12de4c4f8249b2a4aea174e7b (qt-labs/vstools/dev)

    Description

      when I bug my programmer in VS2017 with QT5.12 QTVSTOOL 2.5.2.1

      when I inspect the loacl ** variable widget in VS2017,the data of QList<QVariant> variable is not visible. The type of QList<QVariant> is  QListSpecialMethods<QVariant>.Normally,the type of QList<QVariant> should be std::atomic<int>.

      I founded the an error in qt5.natvis. The error msg is "Natvis: ..\Debugger\Visualizers\qt5.natvis(399,28): Error: identifier "QVariant" is undefined
      Error while evaluating 'reinterpret_cast<$T1>((sizeof($T1) > sizeof(void*)) ? reinterpret_cast<Node*>(d->array + d->begin + $i)>v : reinterpret_cast<$T1*>(d>array + d->begin + $i))' in the context of type '

       Looks like the same problem as QTVSADDINBUG-498.

      part of qt5.natvis file from line 391 to 405.

      <Type Name="QList<*>">
      <AlternativeType Name="QStringList"></AlternativeType>
      <AlternativeType Name="QQueue<*>"></AlternativeType>
      <DisplayString>{{ size =

      {d->end - d->begin}

      }}</DisplayString>
      <Expand>
      <Item Name="[referenced]">d->ref.atomic._q_value</Item>
      <IndexListItems>
      <Size>d->end - d->begin</Size>
      <ValueNode>reinterpret_cast<$T1>((sizeof($T1) > sizeof(void*))
      ? reinterpret_cast<Node*>(d->array + d->begin + $i)->v
      : reinterpret_cast<$T1*>(d->array + d->begin + $i))
      </ValueNode>
      </IndexListItems>
      </Expand>
      </Type>

      Attachments

        Issue Links

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

          Activity

            People

              heimrich Karsten Heimrich
              ssdqt df dd
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes