-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Does anybody know what the -spy option or the variable SQUEAK_SPY is doing ?
platforms/unix/vm-display-X11/sqUnixX11.c:int withSpy= 0; platforms/unix/vm-display-X11/sqUnixX11.c: if (getenv("SQUEAK_SPY")) withSpy= 1; platforms/unix/vm/sqUnixMain.c: int withSpy= 0; platforms/unix/vm/sqUnixMain.c: else if (!strcmp(argv[0], VMOPTION("spy"))) { withSpy = 1; return 1; }
Also I wonder why both .c files (sqUnixX11.c and sqUnixMain.c) both define the same global variable (they both define withSpy).
I'd expect one of them to define it, and the other declare it extern. But I don't immediately see where 'withSpy' is used.
David Stes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
When I set the variable,
$ export SQUEAK_SPY=1 $ /usr/bin/squeak Squeak5.3-19431-64bit.image
It seems to have no effect, but maybe I'm mistaken.
There's a description
./unix/vm/sqUnixMain.c: printf(" "VMOPTION("spy")" enable the system spy\n");
But what is the effect precisely of 'enabling the system spy" ??
Thanks! David Stes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Maybe the VM -spy option is somehow related to spyOn: and MessageTally ??
http://wiki.squeak.org/squeak/4210
It's just a guess. I don't immediately see any documentation on this on wiki.squeak.org.
Perhaps -spy is related to Squeak Performance Tuning ?
David Stes
vm-dev@lists.squeakfoundation.org