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: Marcus G. Daniels
Subject: Re: Objc_msg_lookup stepping through code
Date: 07 Oct 1999 08:41:11 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "FM" == Fabio Mascelloni <address@hidden> writes:

FM> However I've discovered by chance that
FM> the gdb steps correctly into the methods the fifth time:

The purpose of `step' in gdb is to advance line by line, depth first.
Sometimes that means it will step down into code outside of your
model, like the Objective C runtime.  The purpose of `next' is to
advance line by line, breadth first.  So `next' won't go down into the runtime
from model code.

In your example, gdb doesn't know where to find the libobjc source code,
so it just prints line numbers and a warning.  To tell gdb where that
source code is (e.g. an unpacked swarm-2.0.1.tar.gz), you can use
the `directory' command in gdb.


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