-
Notifications
You must be signed in to change notification settings - Fork 15
Tricks
Matthias Springer edited this page May 18, 2015
·
7 revisions
- Get constant selector name in VM as Smalltalk symbol: add to
Constants.SIMULATION_SELECTORS
and a field with that name will be available in object space - Build with a different GC and no JIT:
python .build/build.py -O2 --gc=generation
- Look for this line at the end of the build process:
[translation:info] written: /var/folders/c_/77lk4k657w5gzk7mfckmll6c0000gn/T/usession-default-129/testing_1/testing_1.c
- Change Makefile and add flag
-arch i386
toDEBUG_FLAGS
- Run
make clean
andmake debug -j8
(8 cores) - Run VM:
sudo gdb --args ./rsqueak images/Squeak4.6-vmmaker.1.image
- Check if running on RSqueak.
isRSqueak
< primitive: 'isRSqueak' module: 'VMDebugging' >
^ false