Skip to content

Commit

Permalink
Add basic natvis for cvars
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-drexler committed Aug 10, 2024
1 parent c7d82fd commit d82fea9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Windows/VisualStudio/ironwail.natvis
Original file line number Diff line number Diff line change
Expand Up @@ -576,4 +576,16 @@
</Type>


<!--
================================================================================================================================
Cvar
================================================================================================================================
-->
<Type Name="cvar_s">
<DisplayString Condition="default_string != 0 &amp;&amp; strcmp(string, default_string) == 0">{name,sb}={string,s} (default) [{flags,en}]</DisplayString>
<DisplayString Condition="default_string != 0">{name,sb}={string,s} (default: {default_string,s}) [{flags,en}]</DisplayString>
<DisplayString>{name,sb}={string,s} [{flags,en}]</DisplayString>
</Type>


</AutoVisualizer>

0 comments on commit d82fea9

Please sign in to comment.