Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual Studio 2022 Support #37

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions CPPDebuggerVisualizers.VS2022.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31825.309
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CPPDebuggerVisualizers.VS2022", "VS2022\CPPDebuggerVisualizers.VS2022.csproj", "{D7B13A2C-83D8-4990-83CD-9BEFC36BC80D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D7B13A2C-83D8-4990-83CD-9BEFC36BC80D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D7B13A2C-83D8-4990-83CD-9BEFC36BC80D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D7B13A2C-83D8-4990-83CD-9BEFC36BC80D}.Debug|x86.ActiveCfg = Debug|x86
{D7B13A2C-83D8-4990-83CD-9BEFC36BC80D}.Debug|x86.Build.0 = Debug|x86
{D7B13A2C-83D8-4990-83CD-9BEFC36BC80D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D7B13A2C-83D8-4990-83CD-9BEFC36BC80D}.Release|Any CPU.Build.0 = Release|Any CPU
{D7B13A2C-83D8-4990-83CD-9BEFC36BC80D}.Release|x86.ActiveCfg = Release|x86
{D7B13A2C-83D8-4990-83CD-9BEFC36BC80D}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {C793AD0F-C134-4138-ADF6-37723B848148}
EndGlobalSection
EndGlobal
4 changes: 4 additions & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ Legend:
* Changed
! Fixed

1.0.23 - 03.11.2021
=========================
* Updated version for Visual Studio 2022

1.0.22 - 20.06.2020
=========================
* Updated version for Visual Studio 2017
Expand Down
197 changes: 197 additions & 0 deletions VS2022/CPPDebuggerVisualizers.VS2022.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\Microsoft.VSSDK.BuildTools.17.0.422\build\Microsoft.VSSDK.BuildTools.props" Condition="Exists('..\packages\Microsoft.VSSDK.BuildTools.17.0.422\build\Microsoft.VSSDK.BuildTools.props')" />
<PropertyGroup>
<MinimumVisualStudioVersion>17.0</MinimumVisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>4.0</OldToolsVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<SchemaVersion>2.0</SchemaVersion>
<ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<ProjectGuid>{D7B13A2C-83D8-4990-83CD-9BEFC36BC80D}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CPPDebuggerVisualizers</RootNamespace>
<AssemblyName>CPPDebuggerVisualizers.VS2022</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<GeneratePkgDefFile>false</GeneratePkgDefFile>
<IncludeAssemblyInVSIXContainer>false</IncludeAssemblyInVSIXContainer>
<IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer>
<IncludeDebugSymbolsInLocalVSIXDeployment>false</IncludeDebugSymbolsInLocalVSIXDeployment>
<CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory>
<CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<None Include="packages.config">
<SubType>Designer</SubType>
</None>
<None Include="source.extension.vsixmanifest" />
<Content Include="Visualizers\boost_MultiIndex.natvis">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\boost_PropertyTree.natvis">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\external.natjmc">
<SubType>Designer</SubType>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\boost_MultiArray.natvis">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\boost_Multiprecision.natvis">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\boost_Rational.natvis">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\boost_Regex.natvis">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\boost_Gil.natvis">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.5">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.5 %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<Content Include="..\Changelog.txt">
<Link>Changelog.txt</Link>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="..\cppVisualizerIcon.png">
<Link>cppVisualizerIcon.png</Link>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="..\cppVisualizerScreenshot.png">
<Link>cppVisualizerScreenshot.png</Link>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="..\LICENSE.txt">
<Link>LICENSE.txt</Link>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\boost.natstepfilter">
<SubType>Designer</SubType>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\boost.natvis">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\boost_Containers.natvis">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\boost_DateTime.natvis">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\boost_Geometry.natvis">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\boost_IntrusiveContainers.natvis">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\boost_PointerContainerLibrary.natvis">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\boost_SmartPointers.natvis">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\boost_uBLAS.natvis">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\boost_Unordered.natvis">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\boost_Variant.natvis">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\directx.natvis">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\gsl.natvis">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\TinyXML.natvis">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\TinyXML2.natvis">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Visualizers\wxWidgets.natvis">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
<Import Project="..\packages\Microsoft.VSSDK.BuildTools.17.0.5232\build\Microsoft.VSSDK.BuildTools.targets" Condition="Exists('..\packages\Microsoft.VSSDK.BuildTools.17.0.5232\build\Microsoft.VSSDK.BuildTools.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
44 changes: 44 additions & 0 deletions VS2022/Visualizers/TinyXML.natvis
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version='1.0' encoding='utf-8'?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="TiXmlNode">
<DisplayString>[{type}] {value}</DisplayString>
<StringView>value</StringView>
<Expand>
<LinkedListItems>
<HeadPointer>firstChild</HeadPointer>
<NextPointer>next</NextPointer>
<ValueNode>*this</ValueNode>
</LinkedListItems>
</Expand>
</Type>
<Type Name="TiXmlElement">
<DisplayString>[{type}] {value}</DisplayString>
<StringView>value</StringView>
<Expand>
<Item Name="[attributes]">attributeSet</Item>
<LinkedListItems>
<HeadPointer>firstChild</HeadPointer>
<NextPointer>next</NextPointer>
<ValueNode>*this</ValueNode>
</LinkedListItems>
</Expand>
</Type>
<Type Name="TiXmlAttribute">
<DisplayString>{name} = {value}</DisplayString>
<Expand/>
</Type>
<Type Name="TiXmlAttributeSet">
<DisplayString></DisplayString>
<Expand>
<LinkedListItems>
<HeadPointer>sentinel.next</HeadPointer>
<NextPointer>next</NextPointer>
<ValueNode>this</ValueNode>
</LinkedListItems>
</Expand>
</Type>
<Type Name="TiXmlString">
<DisplayString>[{rep_-&lt;size}] {rep_-&lt;str,s}</DisplayString>
<StringView>rep_-&lt;str,s</StringView>
</Type>
</AutoVisualizer>
42 changes: 42 additions & 0 deletions VS2022/Visualizers/TinyXML2.natvis
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version='1.0' encoding='utf-8'?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="tinyxml2::StrPair">
<DisplayString>{start, [end-start]s}</DisplayString>
<StringView>start, [end-start]s</StringView>
</Type>
<Type Name="tinyxml2::XMLNode">
<DisplayString>{value}</DisplayString>
<StringView>value</StringView>
<Expand>
<LinkedListItems>
<HeadPointer>firstChild</HeadPointer>
<NextPointer>next</NextPointer>
<ValueNode>this</ValueNode>
</LinkedListItems>
</Expand>
</Type>
<Type Name="tinyxml2::XMLElement">
<DisplayString Condition="closingType==1">[CLOSED] {value}</DisplayString>
<DisplayString Condition="closingType==2">[CLOSING] {value}</DisplayString>
<DisplayString>[OPEN] {value}</DisplayString>
<StringView>value</StringView>
<Expand>
<Item Name="attributes">rootAttribute</Item>
<LinkedListItems>
<HeadPointer>firstChild</HeadPointer>
<NextPointer>next</NextPointer>
<ValueNode>this</ValueNode>
</LinkedListItems>
</Expand>
</Type>
<Type Name="tinyxml2::XMLAttribute">
<DisplayString>{name} = {value}</DisplayString>
<Expand>
<LinkedListItems>
<HeadPointer>this</HeadPointer>
<NextPointer>next</NextPointer>
<ValueNode>this</ValueNode>
</LinkedListItems>
</Expand>
</Type>
</AutoVisualizer>
11 changes: 11 additions & 0 deletions VS2022/Visualizers/boost.natstepfilter
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<StepFilter xmlns="http://schemas.microsoft.com/vstudio/debugger/natstepfilter/2010">
<Function><Name>boost::forward&lt;.*</Name><Action>NoStepInto</Action></Function>
<Function><Name>boost::move&lt;.*</Name><Action>NoStepInto</Action></Function>
<Function><Name>boost::addressof&lt;.*</Name><Action>NoStepInto</Action></Function>
<Function><Name>boost::foreach_detail_::.*</Name><Action>NoStepInto</Action></Function>
<Function><Name>boost::scoped_ptr&lt;.*::operator-&gt;</Name><Action>NoStepInto</Action></Function>
<Function><Name>boost::shared_ptr&lt;.*::operator-&gt;</Name><Action>NoStepInto</Action></Function>
<Function><Name>boost::scoped_array&lt;.*::operator\[\]</Name><Action>NoStepInto</Action></Function>
<Function><Name>boost::shared_array&lt;.*::operator\[\]</Name><Action>NoStepInto</Action></Function>
</StepFilter>
Loading