[Vm-dev] Re: [Pharo-dev] Arguments to --trace=?
martin at hand2mouse.com
Sun Jan 12 23:48:58 UTC 2014
On 01/12/2014 03:26 PM, Eliot Miranda wrote:
> On Sun, Jan 12, 2014 at 11:43 AM, Martin McClure <martin at hand2mouse.com
> <mailto:martin at hand2mouse.com>> wrote:
> Anybody know where to find what the acceptable arguments to --trace
> on the command line are, and what each means?
> So far, I've tried:
> --trace Lots of output
> --trace=0 No output
> --trace=1 Looks maybe the same as --trace with no argument
> --trace=2 No output
> --trace=3 A whaling big lot of very interesting output
> Slightly better descriptions of these would be nice. :-)
> Cogit>>sendTrace: aBooleanOrInteger
> "traceFlags is a set of flags.
> 1 => print trace (if something below is selected)
> 2 => trace sends
> 4 => trace block activations
> 8 => trace interpreter primitives
> 16 => trace events (context switches, GCs, etc)
> 32 => trace stack overflow
> 64 => send breakpoint on implicit receiver (Newspeak VM only)"
> traceFlags := aBooleanOrInteger isInteger
> ifTrue: [aBooleanOrInteger]
> ifFalse: [aBooleanOrInteger ifTrue:  ifFalse: ]
Thanks Eliot, that helps a lot!
More information about the Vm-dev