Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Object method traceRM: reportObject levels: levCount
Last updated at 12:56 pm UTC on 1 May 2019
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 (sqeak3.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.]"