Runtime.traceHandler

Overrides the default trace mechanism with a user-supplied version. A trace represents the context from which an exception was thrown, and the trace handler will be called when this occurs. The pointer supplied to this routine indicates the base address from which tracing should occur. If the supplied pointer is null then the trace routine should determine an appropriate calling context from which to begin the trace.

  1. void traceHandler(TraceHandler h)
    struct Runtime
    static @property
    void
    traceHandler
    (
    TraceHandler h
    )
  2. TraceHandler traceHandler()

Parameters

h

The new trace handler. Set to null to use the default handler.

Suggestion Box / Bug Report