swarm-support
[Top][All Lists]
Advanced

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

Re: Objc_msg_lookup stepping through code


From: Fabio Mascelloni
Subject: Re: Objc_msg_lookup stepping through code
Date: Tue, 5 Oct 1999 19:04:08 +0200

>
> FM> (argc=1,argv=0xa031130) at main.m:15 15 [observer buildObjects]
> FM> src/Swarm/swarm/libobjc/sendmsg.c :143 #1 0x4010d6 in main
>
> Ok, so observer is initialized?
>
Yes,it's initialized in the classic way:

observer = [SimObserver createBegin: globalZone];
SET_WINDOW_GEOMETRY_RECORD_NAME (observer);
observer=[observer createEnd];

where:

+ createBegin: aZone
{
  SimObserver * obj;
  id <ProbeMap> probeMap;

  obj = [super createBegin: aZone];

  obj->displayFrequency =1;

  probeMap = [EmptyProbeMap createBegin: aZone];
  [probeMap setProbedClass: [self class]];
  probeMap = [probeMap createEnd];

  [probeMap addProbe: [probeLibrary getProbeForVariable: "displayFrequency"
        inClass: [self class]]];

  [probeLibrary setProbeMap: probeMap For: [self class]];

  return obj;
}

The code hasn't been changed since Swarm1.4.1 (and it didn't give any
problem) and this problem arise with the swarmapps,too.
Fabio.


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