mirror of
https://github.com/Microsoft/calculator.git
synced 2025-07-06 05:01:07 -07:00
Add a NatVis file for ratpak (#2065)
This commit is contained in:
parent
ca84fed13c
commit
899014ee10
3 changed files with 24 additions and 0 deletions
|
@ -344,6 +344,9 @@
|
|||
<ClCompile Include="NumberFormattingUtils.cpp" />
|
||||
<ClCompile Include="UnitConverter.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Natvis Include="ratpak.natvis" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets" />
|
||||
</Project>
|
|
@ -162,4 +162,9 @@
|
|||
</ClInclude>
|
||||
<ClInclude Include="NumberFormattingUtils.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Natvis Include="ratpak.natvis">
|
||||
<Filter>RatPack</Filter>
|
||||
</Natvis>
|
||||
</ItemGroup>
|
||||
</Project>
|
16
src/CalcManager/ratpak.natvis
Normal file
16
src/CalcManager/ratpak.natvis
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
||||
<Type Name="_number">
|
||||
<Expand>
|
||||
<Item Name="sign">sign</Item>
|
||||
<Item Name="exp">exp</Item>
|
||||
<ArrayItems>
|
||||
<Size>cdigit</Size>
|
||||
<ValuePointer>mant</ValuePointer>
|
||||
</ArrayItems>
|
||||
</Expand>
|
||||
</Type>
|
||||
<Type Name="_rat">
|
||||
<DisplayString>{*pp}/{*pq}</DisplayString>
|
||||
</Type>
|
||||
</AutoVisualizer>
|
Loading…
Add table
Add a link
Reference in a new issue