This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?


abstract class Ens.Util.Trace

Method Inventory


classmethod DoTrace()
classmethod GetErrorTrace(pIgnoreTop As %Integer = 0) as %List
Get the stack trace at the point of the last error
classmethod GetStackTrace(pIgnoreTop As %Integer = 0) as %List
Retrieve the current stack trace
classmethod SetTraceDevice(pDevice As %String = "") as %Status
classmethod SetTraceOptimizer(pConfigName As %String)
classmethod WriteTrace(pTraceCategory As %String, pSourceClass, pSourceMethod, pMessage)
classmethod trail(string, width)