First likely possibility is that your copy of MiscPlugin doesn't have the prim - do you have an absolutely up to date vm? Idunno. I just downloaded the latest 3.2 for MacOS about a week ago. It's 3.2.7Beta6.app. (I actually use an alias pointing to the Classic version.)
Easy check - comment out the <prim.....> line, recompile and check times again. No apparent change. I guess this means that means MiscPlugin is not loaded or does not have the change. How do I check whether this plugin is loaded or not? How do I check whether it has this method or not?
You could of course use VMMakerTool (see instructions on the swiki) to regenerate the MiscPrimitivePlugin and check the C code to see what is going on.
Erk. I don't understand VMMaking and I'd rather not have to. OK, VMMakerTool openInWOrld.
Path to platforms code: Problem with directory name with platform code: enter correct path or consult help text.
Click on "Find Path" => No path found. Try searching from the root directory? (May take sometime) [sic.]
Time is also spent on the fetching and saving of results to the stack and it might possibly swamp the time to do the hash work. Shouldn't, but I've seen sillier situations. I don't even know what a platform code _is_.
Simplest guess: the plugin does not exist, is not loaded, or does not contain the String class>>stringHash:.... method.
Is there a more recent Mac VM that works under MacOS 8.6 and _does_ have this method in the plugin? Is there a precompiled plugin I can download?
Richard,
Richard A. O'Keefe wrote:
First likely possibility is that your copy of MiscPlugin doesn't have the prim - do you have an absolutely up to date vm?
Idunno. I just downloaded the latest 3.2 for MacOS about a week ago. It's 3.2.7Beta6.app. (I actually use an alias pointing to the Classic version.)
Easy check - comment out the <prim.....> line, recompile and check times again.
No apparent change. I guess this means that means MiscPlugin is not loaded or does not have the change.
How do I check whether this plugin is loaded or not?
Try Smalltalk listLoadedModules *after* a call to the plugin.
How do I check whether it has this method or not?
In the method calling the prim you could place a self error: 'not called' after the prim call. If the prim call works (since the plugin is reachable), the error line won't be reached.
Hope that helps,
Greetings,
Stephan
You could of course use VMMakerTool (see instructions on the swiki) to regenerate the MiscPrimitivePlugin and check the C code to see what is going on.
Erk. I don't understand VMMaking and I'd rather not have to. OK, VMMakerTool openInWOrld.
Path to platforms code: Problem with directory name with platform code: enter correct path or consult help text.
Click on "Find Path" => No path found. Try searching from the root directory? (May take sometime) [sic.]
Time is also spent on the fetching and saving of results to the stack and it might possibly swamp the time to do the hash work. Shouldn't, but I've seen sillier situations. I don't even know what a platform code _is_.
Simplest guess: the plugin does not exist, is not loaded, or does not contain the String class>>stringHash:.... method.
Is there a more recent Mac VM that works under MacOS 8.6 and _does_ have this method in the plugin? Is there a precompiled plugin I can download?
squeak-dev@lists.squeakfoundation.org