[squeak-dev] Re: spyOnWorldFor:

Fabio Niephaus lists at fniephaus.com
Mon Jul 11 21:47:13 UTC 2016


Hi Yoshiki,

I don't know how useful/stable this is, but one of our student teams is
currently working on an improved MessageTally (see [1]). In their first
demo they had a nice table view and a polar pie.

Best,
Fabio

[1] https://github.com/HPI-SWA-Teaching/SWT16-Project-13

-- 

On Mon, Jul 11, 2016 at 11:35 PM Yoshiki Ohshima <Yoshiki.Ohshima at acm.org>
wrote:

> On Sun, Jul 10, 2016 at 1:42 AM, marcel.taeumel <Marcel.Taeumel at hpi.de>
> wrote:
> > Yoshiki Ohshima-3 wrote
> >> I am trying a few things on Squeak 5.0.  In earlier versions there was
> >> AndreasSystemProfier (formerly known as QSystemProfier) and had a
> >> method called spyOnWorldFor:, which was quite useful.  I just loaded
> >> AndreasProfier-eem.11.mcz and tried it but it crashed the 5.0 all in
> >> one VM on Mac OS 10.10.
> >>
> >> Is this a known issue?  Is there an alternative to it?
> >>
> >> --
> >> -- Yoshiki
> >
> > Hi Yoshiki,
> >
> > there is Extras > Start Profiler, which does
> >
> > MessageTally spyOn: [[Sensor peekPosition y > 0] whileTrue: [World
> > doOneCycle]].
> >
> > I do not know the semantics of #spyOnWorldFor:, but you could specify
> other
> > duration limits in the whileTrue predicate.
>
> Thanks!
>
> I misremembered that spyOnWorldFor was doing profiling for
> "otherProcesses" (maybe it did at some point) but yes, I can have a do
> it like above and it does most of it.
>
> Only difference is that not using the cursor position let me interact
> with things in the world.
>
>
> --
> -- Yoshiki
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160711/2d33a314/attachment.htm


More information about the Squeak-dev mailing list