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: Thu, 7 Oct 1999 09:53:56 +0200

----- Original Message -----
From: Marcus G. Daniels <address@hidden>
To: <address@hidden>
Sent: Wednesday, October 06, 1999 8:08 PM
Subject: Re: Objc_msg_lookup stepping through code


> >>>>> "FM" == famasce  <address@hidden> writes:
>
> FM> (gdb) break 15 Breakpoint 1 0x4010c2: file main.m ,line 15
> FM> (gdb)run
>
> Looking at the code you sent me (it works on Swarm 1.4.1 and Swarm
> 2.0.1), I guess I must have misunderstood you.  Your program doesn't
> actually crash, is that right?  Is your question about why single
> stepping goes into functions like objc_msg_lookup?

Yes , that's the question.However I've discovered by chance that the gdb
steps correctly into the methods the fifth time:

(gdb)s
 obj_msg_lookup error (receiver =  0x....... op = 0x........ )
                at  /src/Swarm/swarm/libobjc/sendmsg.c  : 143
 143                /src/Swarm/swarm/libobjc/sendmsg.c : No such file or
directory.
(gdb)s
145         in  /src/Swarm/swarm/libobjc/sendmsg.c
(gdb)s
147         in /src/Swarm/swarm/libobjc/sendmsg.c
(gdb)s
171        in /src/Swarm/swarm/libobjc/sendmsg.c
(gdb)s
_i_SimObserver__buildObjects (self=0xa0dc280 _cmd=0x40b03c)
    at SimObserver.m : 40
40         [super buildObjects];






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