[Vm-dev] Re: [Pharo-dev] Arguments to --trace=?
Eliot Miranda
eliot.miranda at gmail.com
Sun Jan 12 23:26:28 UTC 2014
On Sun, Jan 12, 2014 at 11:43 AM, Martin McClure <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
<doNotGenerate>
"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: [6] ifFalse: [0]]
--
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140112/f0342948/attachment.htm
More information about the Vm-dev
mailing list