Memory Diagnostic options.

interface DiagOptions {
    callerDetail?: boolean;
    callerStats?: boolean;
    enabled: boolean;
}

Properties

callerDetail?: boolean

Record the callstack of creating each XmlDisposable.

callerStats?: boolean

Generate the statistics of the callstack, for XmlDisposable.

enabled: boolean

Enabling the memory diagnostics. Note that the tracking information will be lost when it is disabled.