[squeak-dev] Re: spyOnWorldFor:
Yoshiki.Ohshima at acm.org
Mon Jul 11 21:35:43 UTC 2016
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
> I do not know the semantics of #spyOnWorldFor:, but you could specify other
> duration limits in the whileTrue predicate.
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.
More information about the Squeak-dev