Xcode debugger evaluate expression. There is a similar facility in the Chrome debugger.