convenient view of char[] as String?

Is there a convenient way in the 7.0M1 debugger to view a char[8192] as a String?

I was finally able to, e.g., for foo, via Expression Evaluation of new String(foo).

But I couldn't find any way to get the debugger to display it automatically. Right-click -> Inspect gives me a big, empty window. I tried to define a Type Renderer with Customize Data Views, but had no luck there either ("char[]" for the fully-qualified name of the object type, and an expanding expression of "new String()", but what's the parameter name of the type being rendered? "new String(node)"?)

1 comment

Use "new String(this)".


Please sign in to leave a comment.