swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDB in windows/in general


From: Marcus G. Daniels
Subject: Re: GDB in windows/in general
Date: 08 Mar 2000 07:44:27 -0800
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "PJ" == Paul E Johnson <address@hidden> writes:

PJ> How do I see the values inside an object that shows in the output
PJ> when I do "print *self".  

Classes are like structures, so you can cast them like so:

  print *(struct MyClass *) self

PJ> (gdb) call _i_Object__name(world,"")
PJ> No symbol "world" in current context.

Something like "print ((Class *)(self->world))->name" should work.

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]