[Newbies] Re: World when: #aboutToEnterWorld send:to:
nicolas cellier
ncellier at ifrance.com
Sat Dec 15 08:59:56 UTC 2007
Another clue: do this in a workspace:
SystemNavigation default browseAllCallsOn: #aboutToEnterWorld
nicolas cellier a écrit :
> Best way to find it out is to browse implementors of #when:send:to:
> Then follow the messages chain:
> - you see the "doIt" is stored as a WeakMessageSend
> - which is sent to Object>>#when:evaluate:
> - Object>>#setActionSequence:forEvent:
> - Morph>>#updateableActionMap
> - Morph>>#valueOfProperty:
>
> Then you should be able to
> World inspect.
> or:
> World explore.
> select extensions, then otherProperties and search therein...
>
> Now that you know where the WeakMessageSend is stored, you still have to
> figure out how it is triggered.
> You'll have to inquire about actionSequence you saw above...
> I wish you a good browsing.
>
> Note this usefull shortcut: you can select name of a message or a class
> and hit ALT+b.
>
> Nicolas
>
> Doug Edmunds a écrit :
>> I was trying a tutorial at
>> http://coweb.cc.gatech.edu/cs2340/2200
>>
>> I ran doIt on this code in a workspace of a project
>>
>> World when: #aboutToEnterWorld send: start to: Demo1.
>>
>> (after creating the Demo1 class and the class method start.
>>
>> Basically, all it does is open a Transcript and write
>> a line or two of text. It works every time I open that project.
>>
>> My primary question is where is the result of the doIt being stored?
>> I would like to be able to change it, disable it, remove it, etc.
>> What tool do I use to find this line of code in the image?
>>
>> How is it that sending code like this one time can cause it to run every
>> time the project gets opened?
>>
>> - dae
More information about the Beginners
mailing list