From
http://forum.world.st/Oops-I-put-a-halt-in-a-startup-method-td3800163.html :
My image appears for an instant and then crashes. Is there any way to
recover from this?
I made some progress, but I'm not sure I'm on the right track...
I built a debug VM and found primitivePerform, which is apparently called
by the following:
FeaturesDB perform: #startUp: with: resuming
How will I know which call to skip/break on? Maybe there is there a way,
from the VM side, to get the receiver class name as a string? If I knew that
the receiver was FeaturesDB, that would be the one...
And then once I have the right call, can I just skip over it?
Sean
--
View this message in context: http://forum.world.st/Fwd-Oops-I-put-a-halt-in-a-startup-method-tp3800729p3…
Sent from the Smalltalk VM - Beginners mailing list archive at Nabble.com.
Hi guys!
In the past few days i tried to get InterpreterSimulator running without
success.
First of all, a little context about my goal: I'm digging into the VM
because i would like to be able to delegate to some class (that I'll
develop) the responsibility for, say, the method lookup algorithm.
With that in mind, here's what i've been doing:
Using the Pharo 1.2 image Mariano Peck's prepared in his exellent article
(http://marianopeck.wordpress.com/2011/04/23/how-to-debug-the-vm/), loaded
the VMMaker package with the following script:
Deprecation raiseWarning: false.
Gofer new
squeaksource: 'MetacelloRepository';
package: 'ConfigurationOfCog';
load.
(Smalltalk at: #ConfigurationOfCog) project latestVersion load.
Once it finishes (without errors) I "Save As" the current image as
"demo.image", close it and open the original Pharo 1.2 image that Mariano
provided.
When, for example, I run:
(CogVMSimulator new openOn: 'demo.image') test
or
(InterpreterSimulatorLSB new openOn: 'demo.image') test
I get the following error: "Error: basicNew: failed" (see attached images at
the end).
When I tried to load VMMaker in the Pharo 1.3 OneClick release, I got
another error (see attached images at the end).
Am I doing something wrong?
Are those the right simulators to use? I can tell the difference between all
that are available in VMMaker package.
Thanks in advance!
Nick
http://forum.world.st/file/n3835723/error_while_trying_to_run_InterpreterSi…http://forum.world.st/file/n3835723/Error_while_loading_VMMaker_in_Pharo-1.…
--
View this message in context: http://forum.world.st/Got-Error-basicNew-failed-when-running-InterpreterSim…
Sent from the Smalltalk VM - Beginners mailing list archive at Nabble.com.
---------- Forwarded message ----------
From: Marcus Denker <marcus.denker(a)inria.fr>
Date: Fri, Sep 30, 2011 at 8:50 AM
Subject: [squeak-dev] Started to post Videos of "Deep into Smalltalk"
To: An open mailing list to discuss any topics related to an open-source
Smalltalk <Pharo-project(a)lists.gforge.inria.fr>
Cc: "esug-list(a)lists.esug.org list" <esug-list(a)lists.esug.org>, A friendly
place where any question about pharo is welcome <
pharo-users(a)lists.gforge.inria.fr>, The general-purpose Squeak developers
list <squeak-dev(a)lists.squeakfoundation.org>
Hello,
After a long wait... finally:
http://www.youtube.com/user/esugboard#grid/user/843D1D545F9F52B6
This now has:
- Extensive, great two part PetitParser Tutorial by Doru (3 hours)
http://www.youtube.com/watch?v=vgiJG3Vd6KU
If you ever wanted to write a Parser, this will give you a very
understandable,
step-by-step introduction.
- Enhancing SqueakNOS. http://www.youtube.com/watch?v=u9RUmIY2Sz8
Crazy, these Argentinians...
- NativeBoost: http://www.youtube.com/watch?v=Bd6mz6F167s
Generate Binary code from the image. And a *very* fast FFI
as an example.
Guido and Javier of the SqueakNOS video above are right now busy here
in Lille building something *very* interesting with NativeBoost...
- FFI, an introduction by Igor: http://www.youtube.com/watch?v=fU8XRCO7MUU
What is FFI and how do we use it?
- and the first part of "A little Journey in a Virtual Machine"
http://www.youtube.com/watch?v=FJQmjhOvjUs
This has 5 (!) parts and together with the FFI presentation, this allows
you
to experience the very first lecture ever given by Igor Stasenko.
More to come... but this already might keep interested people busy for some
enternaining evenings :-)
We will post all the rest step by step.
The ESUG Youtube account has more stuff posted already, e.g. the talks
of this years IWST Workshop and some talks of ESUG2011, and the classic
talk of Doru from ESUG 2008 showing how (not) to give ESUG talks.
All here: http://www.youtube.com/user/esugboard
Marcus
--
Marcus Denker -- http://marcusdenker.de
--
Mariano
http://marianopeck.wordpress.com