I tried to simulate the VM by executing:
InterpreterSimulator simulate: 'path/to/subject.image'.
The spoon image hung after the transcript showed:
<Running full GC ... done> Looking for module Flow ... loaded............. Looking for module MiscPrimitivePlugin ... loaded
What should I do differently?
Thanks. Sean
-- View this message in context: http://forum.world.st/Simulating-the-VM-tp3774139p3774139.html Sent from the Squeak - Spoon mailing list archive at Nabble.com.
Hi Sean--
I tried to simulate the VM by executing:
InterpreterSimulator simulate: 'path/to/subject.image'.
The spoon image hung after the transcript showed:
<Running full GC ... done> Looking for module Flow ... loaded............. Looking for module MiscPrimitivePlugin ... loaded
What should I do differently?
That's the right behavior. :) The subject image is headless, so you won't see anything new on the display. And while the simulator is running, the UI process of the image in which you're running it is blocked. The simulated subject image is listening on (the real) TCP port 62982, waiting for another image to connect to it; you can see this by checking the output of 'netstat -an' at a shell.
thanks for trying this!
-C
-- Craig Latta www.netjam.org/resume +31 6 2757 7177 + 1 415 287 3547
Craig Latta wrote:
That's the right behavior. :)
Thanks Craig. I tried again on a copy of the "Spoon 3 alpha 3.image" and got very excited when a black rectangle appeared, but then got a non-boolean proceed for truth error from FilePluginSimulator>>primitiveFileClose ... interpreterProxy failed ifFalse: [ self sqFileClose: file ].
which seems to lead InterpreterPrimitives>>failed to return primFailCode, which is 0.
I changed #failed to always return false, but then got "MessageNotUnderstood: BitBltSimulator>>long32At:".
Slowly making progress...
Sean
-- View this message in context: http://forum.world.st/Simulating-the-VM-tp3774139p3774972.html Sent from the Squeak - Spoon mailing list archive at Nabble.com.
spoon@lists.squeakfoundation.org