1

Resolved

Duplicate entries for PyListObject in PythonDkm.natvis

description

I have latest PyTools installed and with the natvis diagnostics enabled, I'm getting this warning:
Natvis: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 11.0\COMMON7\IDE\EXTENSIONS\MICROSOFT\PYTHON TOOLS FOR VISUAL STUDIO\2.0\PythonDkm.natvis(56,4): 
   Warning: Duplicate <Type> entries detected for type 'PyListObject' 
      at 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 11.0\COMMON7\IDE\EXTENSIONS\MICROSOFT\PYTHON TOOLS FOR VISUAL STUDIO\2.0\PythonDkm.natvis(44,4)' 
      and 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 11.0\COMMON7\IDE\EXTENSIONS\MICROSOFT\PYTHON TOOLS FOR VISUAL STUDIO\2.0\PythonDkm.natvis(56,4)'.  
The <Type> entry at 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 11.0\COMMON7\IDE\EXTENSIONS\MICROSOFT\PYTHON TOOLS FOR VISUAL STUDIO\2.0\PythonDkm.natvis(56,4)'
 will have priority.
Indeed,the PythonDmk.natvis does include duplicate entries:
...
  <Type Name="PyListObject">
    <CustomVisualizer VisualizerId="C85DBEDF-48BA-4BC8-ADC7-B3A7B70D692A"/>
  </Type>
  <Type Name="PyStringObject">
    <CustomVisualizer VisualizerId="C85DBEDF-48BA-4BC8-ADC7-B3A7B70D692A"/>
  </Type>
  <Type Name="PyTupleObject">
    <CustomVisualizer VisualizerId="C85DBEDF-48BA-4BC8-ADC7-B3A7B70D692A"/>
  </Type>
  <Type Name="PyUnicodeObject">
    <CustomVisualizer VisualizerId="C85DBEDF-48BA-4BC8-ADC7-B3A7B70D692A"/>
  </Type>
  <Type Name="PyListObject">
    <CustomVisualizer VisualizerId="C85DBEDF-48BA-4BC8-ADC7-B3A7B70D692A"/>
  </Type>
...

comments