From 9f512d07e12e41c74acdfb0224ba38aa7db6fc53 Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Fri, 12 Aug 2005 23:22:18 +0000 Subject: [PATCH] changed debug output --- panda/src/express/datagramIterator.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/panda/src/express/datagramIterator.cxx b/panda/src/express/datagramIterator.cxx index d37598361c..741a0515e3 100644 --- a/panda/src/express/datagramIterator.cxx +++ b/panda/src/express/datagramIterator.cxx @@ -154,7 +154,9 @@ write(ostream &out, unsigned int indent) const { out.width(indent); out<<""<<"DatagramIterator:\n"; out.width(indent+2); out<<""<<"_current_index "<<_current_index; if (_datagram) { - out<<""<<" (of "<<(get_datagram().get_length())<<")\n"; + out<<""<<" (of "<<(get_datagram().get_length())<<")"; + out<<""<<" or in hex that's "<<(void*)_current_index<<" (of " + <<(void*)(get_datagram().get_length())<<")\n"; get_datagram().write(out, indent+2); } else { out<<""<<" (_datagram is null)\n";