Visual Studio Debugger - Natvis file


#1

I've just spent an hour and a half persuading the Visual Studio debugger to display some basic JUCE objects nicely.  It's so bloody handy I think I'd better share it.  I've done Array's, ValueTrees and Var objects so far, which were bloody annoying before.  I'm taking suggestions for any other objects that need decoding while I'm on a roll ... 

I'll pop the magic file on github in a bit...


#2

Cool, thanks for sharing!


#3

Natvis documentation is well worth a read.   It should be compatible with VS2013 and 2015...

Here's the magic file anyway, installation instructions are at the top in a comment:

https://github.com/jcredland/juce-toys/blob/master/juce.natvis


#4

This is really cool!


#5

Thank you! The first thing I thought about when seeing this feature VS feature was JUCE. I was hoping someone would make an attempt. I wanted to but I completely forgot about it. 


#6

That's great! Didn't know about that feature.


#7

more info on how to use: https://msdn.microsoft.com/en-us/library/jj620914.aspx