Handles will now properly show up automatically dereferenced or NULL in Visual Studio's debug views #51
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
||||||
|
<Type Name="SHADE::Handle<*>">
|
||||||
|
<DisplayString Condition="library==nullptr">NULL</DisplayString>
|
||||||
|
<DisplayString>ID = {id.Data.Index} Version = {id.Data.Version} Type = {"$T1"} </DisplayString>
|
||||||
|
<Expand>
|
||||||
|
<ExpandedItem>(*library).objects.denseArray[(*library).objects.sparseArray[id.Data.Index]]</ExpandedItem>
|
||||||
|
</Expand>
|
||||||
|
</Type>
|
||||||
|
</AutoVisualizer>
|
|
@ -15,7 +15,8 @@ project "SHADE_Engine"
|
||||||
"%{prj.location}/src/**.hpp",
|
"%{prj.location}/src/**.hpp",
|
||||||
"%{prj.location}/src/**.c",
|
"%{prj.location}/src/**.c",
|
||||||
"%{prj.location}/src/**.cpp",
|
"%{prj.location}/src/**.cpp",
|
||||||
"%{prj.location}/src/**.glsl"
|
"%{prj.location}/src/**.glsl",
|
||||||
|
"%{prj.location}/**.natvis"
|
||||||
}
|
}
|
||||||
|
|
||||||
includedirs
|
includedirs
|
||||||
|
|
Loading…
Reference in New Issue