Yes, I am newbie with low stuff like this. I have downloaded VMMaker and browse the class Interpreter to see the smalltalk (slang) code of the primitives I want to investigate that are primitiveStoreImageSegment and primitiveLoadImageSegment.....now, the question is, should I be able to put a self halt there and debug it? I tried but I did nothing. Is this possible ? I thought it was :(
Thanks for the help. Mariano _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
That would be nice indeed. And you can do it if you simulate the VM,
i.e., run the interpreter inside an image as Smalltalk code. To get the interpreter working may be challenging, though. I once had a working version and submitted some patches to Mantis. I don't think these were integrated, though. Also note that in the debugger you just see pointers and not objects, so even with the Smalltalk debugger it can get complicated to debug the VM. Adrian On Dec 8, 2009, at 16:07 , Mariano Martinez Peck wrote: > Yes, I am newbie with low stuff like this. I have downloaded VMMaker > and > browse the class Interpreter to see the smalltalk (slang) code of the > primitives I want to investigate that are primitiveStoreImageSegment > and > primitiveLoadImageSegment.....now, the question is, should I be able > to put > a self halt there and debug it? I tried but I did nothing. Is this > possible ? I thought it was :( > > Thanks for the help. > > Mariano > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Mariano Martinez Peck
> now, the question is, should I be able to put a self halt there and
> debug it? I tried but I did nothing. Is this possible ? I thought > it was :( I do not know for now, for few years ago you could. Simply adding a 'self halt' in the VM code or pressing Cmd-. while executing would popup a debugger. Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Ok...thanks for the replies. I think right now I will "debug it" with pen and paper :)
Cheers, Mariano On Wed, Dec 9, 2009 at 2:48 PM, Alexandre Bergel <[hidden email]> wrote:
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
XCode, http://svn.isqueak.org/vm, and some breakpoints works as well, if you can't get it running in smalltalk :)
You only need to remove the MainWindow.xib from SqueakPureObjC targets' resources if you don't have the iPhone libs installed, then it's build and go!) Cheers, Henry On Dec 11, 2009, at 10:09 53AM, Mariano Martinez Peck wrote: Ok...thanks for the replies. I think right now I will "debug it" with pen and paper :) _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
2009/12/11 Henrik Johansen <[hidden email]>
hahahaha. I was sure someone would say me "gdb is your friend". But not, I don't like gdb, I want smalltalk debugger :)
Anyway, thanks for the tip. It would be useful for another time or if actually I want to debug the c code. Thank you! mariano
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Free forum by Nabble | Edit this page |