StackTrace.trace

Receive a stack trace in the form of an address list. One form accepts an allocated buffer, the other form automatically allocates the buffer.

  1. ulong[] trace(size_t skip, CONTEXT* context)
  2. ulong[] trace(ulong[] buffer, size_t skip, CONTEXT* context)
    class StackTrace
    static @nogc
    ulong[]
    trace
    (
    ulong[] buffer
    ,
    size_t skip = 0
    ,
    CONTEXT* context = null
    )

Parameters

skip size_t

How many stack frames should be skipped.

context CONTEXT*

The context that should be used. If null the current context is used.

buffer ulong[]

The buffer to use for the trace. This should be at least 63 elements.

Return Value

Type: ulong[]

A list of addresses that can be passed to resolve at a later point in time.

Meta