Showing current Value in Xcode debugger?


#1

Anyone have a snippet to put into the xcode debugger to show the current value of a value class as a string please?

Bruce


#2

just tried it with the following snippet

    var tmp = "hello";

    Value tmpv(tmp);

and in the debugger this works:

   print tmpv.toString().toCFString()

According to the docs, this should work even if your var isn't a string