You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a Visual Studio Native Visualizer file for variant.
This file enable the debugger to view the value in a variant variable.
There are two files here:
Variant.natvis - the XML describe how to view the variant in VS debugger
InstallVSDebuggerVariantSupport.bat - simple batch file to copy the nativs file to VS debugger folder
One can also just add it to the project itself, the debugger will peek it up from there.
The natvis file support up to 20 types, if you think we need to support more, tell me and I will upload a new file.
VS Natvis format requires to explicitly describe each variant (with 1, 2, 3... types).
I use the boost::variant nativs file as a reference, and there it describe up to 20.
I created a Visual Studio Native Visualizer file for variant.
This file enable the debugger to view the value in a variant variable.
There are two files here:
The natvis file support up to 20 types, if you think we need to support more, tell me and I will upload a new file.
VS Natvis format requires to explicitly describe each variant (with 1, 2, 3... types).
I use the boost::variant nativs file as a reference, and there it describe up to 20.
Enjoy :-)
VariantVSDebuggerSupoort.zip
The text was updated successfully, but these errors were encountered: