swarm-support
[Top][All Lists]
Advanced

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

Re: gdb question...


From: Paul E Johnson
Subject: Re: gdb question...
Date: Wed, 21 Feb 2001 09:02:52 -0600

"Marcus G. Daniels" wrote:
> 
> KG> guts of the swarm library. Rather than seeing my model
> KG> statements execute, which is what I'd like to see.
> 
> NEN> Maybe setting breakpoints in your model statements to interrupt the
> NEN> execution of the program would help? Once it is interrupted, you can
> NEN> step through the lines of your code.
> 
> I concur, most models won't have that many createActionTo messages and
> simply setting a breakpoint at the top of each method named by the
> selector argument will show you what is going on pretty quick.  You
> can set different commands to run on different breakpoints with the
> `commands' command, including the `continue' command to restart
> execution.
> 
> If you want, you can identify what line numbers to set breakpoints
> for Action calls by looking at the different -_performAction_ methods
> in src/activity/Action.m.  Doing this, you'll track all Actions
> that Swarm issues.


How do you set breakpoints with java swarm programs? I can't get the
line numbers trick that works in Obj-C (break ModelSwarm.m:454) to work.

-- 
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ukans.edu/~pauljohn
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                FAX: (785) 864-5700

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