How to view juce Array elements in xcode debugger


#1

Apologies if this is a dumb or oft answered question - but is there some
debug expression similar to the one for strings:
ie:

{(const char *)$VAR.toUTF8()}:s

that can be used to view all the elements of a JUCE Array ?


#2

You’d have to write your own toString for the array, then use that. Funnily enough, I have that for my arrays and this didn’t occur to me. I’d guess:

{(const char *)$VAR.toString().toUTF8()}:s

Or something similar.

Bruce