This was exactly what I needed. Much thanks.

On Aug 22, 2:08 pm, Kenton Varda <ken...@google.com> wrote:
> message->DebugString() is a shortcut that returns a string representation of
> the message.
>
> On Fri, Aug 21, 2009 at 9:06 PM, Saptarshi <saptarshi.g...@gmail.com> wrote:
>
> > Hello,
> > I'm new to using Protocol Buffers and am debugging my program.
> > Is there a way to pretty print a Message? (I'm new to C++ too and have
> > tried reading the API but probably missed it).
>
> > Also if stepping through GDB and given
> > REXP *rxp = new REXP();
> > ..
> > rxp filled in
> > ...
>
> > how can i do something like :
>
> > print(rxp)
> > in gdb to get the contents?
>
> > Thank you
> > Saptarshi
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to