StartUpList

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

StartUpList

Bob.Cowdery

Hi All

 

I started to wonder what was actually running in my image. After a bit of hunting around I found the Smalltalk addToStartUpList etc but I couldn’t see how to look at the list to see what was being started. Is there a method for this or some indirect way to get there?

 

Thanks

Bob

*** Confidentiality Notice *** Proprietary/Confidential
Information belonging to CGI Group Inc. and its affiliates
may be contained in this message. If you are not a recipient
indicated or intended in this message (or responsible for
delivery of this message to such person), or you think for
any reason that this message may have been addressed to you
in error, you may not use or copy or deliver this message
to anyone else.  In such case, you should destroy this
message and are asked to notify the sender by reply email.



Reply | Threaded
Open this post in threaded view
|

Re: StartUpList

Scott Wallace
Re: StartUpList
Hi, Bob,

(1)  To see which classes are in the StartUpList, evaluate:
        SystemDictionary classPool at: #StartUpList


(2)  To see the *code* that is run on behalf of these classes at start-up time, browse implementors of #startUp.   In the resulting message-list, look only at the class-side #startUp methods that are associated with the classes that are in the StartUpList, as revealed in step 1.

[There will also be eight or ten *instance-side* #startUp methods in the implementors-of-startUp message-lis, such as for PopUpMenu, but these are not part of the system startup process, and can be ignored for this exercise.]


Cheers,

  -- Scott


At 10:43 PM +0000 2/9/06, Cowdery, Bob [UK] wrote:

I started to wonder what was actually running in my image. After a bit of hunting around I found the Smalltalk addToStartUpList etc but I couldn't see how to look at the list to see what was being started. Is there a method for this or some indirect way to get there?