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: Gary Polhill
Subject: Re: GDB in windows/in general
Date: Wed, 08 Mar 2000 10:29:25 +0000

"Paul E. Johnson" wrote:
> 

> (gdb) print *self
> $1 = {isa = 0x804e2c0, zbits = 135508046, internalZone = 0x811e7f0,
> syncType = 0x808b880,
>   activity = 0x0, numBugs = 100, evaporationRate = 0.98999999999999999,
>   diffuseConstant = 1, worldXSize = 80, worldYSize = 80, minIdealTemp =
> 17000,
>   maxIdealTemp = 31000, minOutputHeat = 3000, maxOutputHeat = 10000,
>   randomMoveProbability = 0, randomizeHeatbugUpdateOrder = 0 '\000',
>   modelActions = 0x8179e90, modelSchedule = 0x0, heatbugList =
> 0x8154050,
>   world = 0x81544c0, heat = 0x8153f48}
> (gdb) print *world
> No symbol "world" in current context.
> 
> When I try that web page's tricks to find out the class of the object, I
> get
> (gdb) call _i_Object__name(world,"")
> No symbol "world" in current context.
> (gdb) print (struct Grid2d)*world
> No symbol "world" in current context.

What happens if you do print *self->world?

Gary

-- 

Macaulay Land Use Research Institute, Craigiebuckler, Aberdeen. AB15 8QH
Tel: +44 (0) 1224 318611               Email: address@hidden

                  ==================================
   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]