Object method traceRM: reportObject levels: levCount
Last updated at 6:26 pm UTC on 14 October 2020
The method #traceRM:levels: is the method to use for execution tracing. It is one of the two methods of the SRE Execution Tracer.
traceRM: reportObject levels: levCount
" Write debug trace in Transcript with info about levCount no. of stack entries from its top. "
" 19971204 als (g03): Reduce redundant code "
" 20040204 tree (squeak3.6-5429) Ported from OOram. "
Transcript dependents ifEmpty: [^self].
self traceRM: reportObject levels: levCount withContext: thisContext sender.
"(1 to: 3) do: [:int | nil traceRM: int levels: 5.]"