[squeak-dev] Re: spyOnWorldFor:
leves at caesar.elte.hu
Mon Jul 11 21:53:34 UTC 2016
On Mon, 11 Jul 2016, Yoshiki Ohshima 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
>> 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.
If you just want to profile the image while using the UI, then there's
the Start Profiler item in the Extras menu of the docking bar.
> -- Yoshiki
More information about the Squeak-dev