R=mstarzinger@chromium.org
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10697067
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11981
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
else:
print "Page header is not available!"
+ def do_da(self, address):
+ """
+ Print ASCII string starting at specified address.
+ """
+ address = int(address, 16)
+ string = ""
+ while self.reader.IsValidAddress(address):
+ code = self.reader.ReadU8(address)
+ if code < 128:
+ string += chr(code)
+ else:
+ break
+ address += 1
+ if string == "":
+ print "Not an ASCII string at %s" % self.reader.FormatIntPtr(address)
+ else:
+ print "%s\n" % string
+
def do_k(self, arguments):
"""
Teach V8 heap layout information to the inspector. This increases