On Tuesday 24 March 2009 16:16:01 you wrote: > Gwenael Casaccio wrote: > > On Tuesday 24 March 2009 16:02:57 you wrote: > >> Gwenael Casaccio wrote: > >>> Hi Paolo, > >>> > >>> Is it possible to call a primitive like this : > >>> > >>> self callThisPrimitive: 'nameOfThePrimitive' withArgs: args. > >> > >> No, why do you need that? > >> > >> Paolo > > > > I'm working on a simulator (which can be used for the debugging tracing, > > profiling, and for running old-squeak image, ...) > > Ah, I see. No, there is nothing like that but it should not be hard to > do it (mostly by copying the code of the #perform:withArguments: > primitive). One question is, what to do if the primitive fails? You > need a block for that, right? > > Still, I think that the single step mode already in the VM is going to > be always faster than a simulator (and it would be usable for tracing > and profiling). Have you looked at DebugTools? > > Paolo
Thanks I'll look at the DebugTools. By the way I've a question in the ContextPart there is a byte code for the line of code Am I right ? Do you store it as an interval for the position in the source code ? Gwenael _______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
