How to find a not defined class in my image?
Hi, I am looking for a way to find out, if I have Classes referenced in my image which are not defined. I do this because I want to check, if my configurationOf is loading all the stuff I want to load. In the code critics browser from world menu, there is "Class not referenced" but I can not find something like "Class referenced but not defined". How do you check this? Regards Sabine -- View this message in context: http://forum.world.st/How-to-find-a-not-defined-class-in-my-image-tp4709737.... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
On 23 Sep 2013, at 11:29, Sabine Knöfel <sabine.knoefel@gmail.com> wrote:
Hi,
I am looking for a way to find out, if I have Classes referenced in my image which are not defined.
I do this because I want to check, if my configurationOf is loading all the stuff I want to load.
In the code critics browser from world menu, there is "Class not referenced" but I can not find something like "Class referenced but not defined".
How do you check this?
Does the global variable Undeclared not do this ? Furthermore, if you open a Transcript during loading, you will get lots of information.
Regards Sabine
-- View this message in context: http://forum.world.st/How-to-find-a-not-defined-class-in-my-image-tp4709737.... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Write Undefined in a Workspace and inspect it; if you have undefined classes referenced, they will be listed there and you have a contextual menu entry for searching where they are used. To see that you have progressed (i.e., removed some undefined or updated your configuration), select and do it a workspace: Smalltalk cleanOutUndeclared And inspect again Undefined. Thierry Le 23/09/2013 11:29, Sabine Knöfel a écrit :
Hi,
I am looking for a way to find out, if I have Classes referenced in my image which are not defined.
I do this because I want to check, if my configurationOf is loading all the stuff I want to load.
In the code critics browser from world menu, there is "Class not referenced" but I can not find something like "Class referenced but not defined".
How do you check this?
Regards Sabine
-- View this message in context: http://forum.world.st/How-to-find-a-not-defined-class-in-my-image-tp4709737.... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
Thank you, this was exactly what I need. Sabine On Mon, Sep 23, 2013 at 11:41 AM, Goubier Thierry [via Smalltalk] < ml-node+s1294792n4709740h35@n4.nabble.com> wrote:
Write
Undefined
in a Workspace and inspect it; if you have undefined classes referenced, they will be listed there and you have a contextual menu entry for searching where they are used.
To see that you have progressed (i.e., removed some undefined or updated your configuration), select and do it a workspace:
Smalltalk cleanOutUndeclared
And inspect again Undefined.
Thierry
Le 23/09/2013 11:29, Sabine Knöfel a écrit :
Hi,
I am looking for a way to find out, if I have Classes referenced in my image which are not defined.
I do this because I want to check, if my configurationOf is loading all the stuff I want to load.
In the code critics browser from world menu, there is "Class not referenced" but I can not find something like "Class referenced but not defined".
How do you check this?
Regards Sabine
-- View this message in context: http://forum.world.st/How-to-find-a-not-defined-class-in-my-image-tp4709737.... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
------------------------------ If you reply to this email, your message will be added to the discussion below:
http://forum.world.st/How-to-find-a-not-defined-class-in-my-image-tp4709737p... To unsubscribe from How to find a not defined class in my image?, click here<http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&nod...> . NAML<http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant...>
-- View this message in context: http://forum.world.st/How-to-find-a-not-defined-class-in-my-image-tp4709737p... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Hello, Smalltalk at: #MyClassName => raise KeyNotFound Error if MyClassName does not exist => answers MyClassName if the class exists 2013/9/23 Sabine Knöfel <sabine.knoefel@gmail.com>
Hi,
I am looking for a way to find out, if I have Classes referenced in my image which are not defined.
I do this because I want to check, if my configurationOf is loading all the stuff I want to load.
In the code critics browser from world menu, there is "Class not referenced" but I can not find something like "Class referenced but not defined".
How do you check this?
Regards Sabine
-- View this message in context: http://forum.world.st/How-to-find-a-not-defined-class-in-my-image-tp4709737.... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
participants (4)
-
Clément Bera -
Goubier Thierry -
Sabine Knöfel -
Sven Van Caekenberghe