- Set and hit some breakpoint
- Click SHIFT+CMD+R or Run --> Console
- Type the following into the gdb window that comes up:
(gdb) p (char *)[self._xmlData bytes]Obviously substitute self._xmlData with the expression that accesses your own NSData * object.
$11 = 0x2058200 "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\""...
Okay, but how do you display more lines of the output you ask? Try this:
x/10s (char*)[self._xmlData bytes]This will display the first 10 chunks of the data as strings.


