I am running Xcode and I would like to dump out a NSData*. The variable in question is buffer. Is there a way to do this through the UI or the GDB debugger?
In Swift this should do the trick:
po String(data:buffer!, encoding: NSUTF8StringEncoding)