Table of Contents

Struct VBStackTraceFrame

Namespace
RDCore.SDK.Model.Errors
Assembly
RDCore.SDK.dll

One activation of the call stack a run-time error was raised on.

public readonly record struct VBStackTraceFrame : IEquatable<VBStackTraceFrame>
Implements
Inherited Members

Constructors

VBStackTraceFrame(string, SourceLocation?)

One activation of the call stack a run-time error was raised on.

public VBStackTraceFrame(string ProcedureName, SourceLocation? Location)

Parameters

ProcedureName string

The name of the procedure the activation is of.

Location SourceLocation?

Where in that procedure execution stood, when it is known. Known for the activation the error was raised in — that is the faulting statement — and not for its callers, whose activation records do not carry the location of the call they are suspended at.

Properties

Location

Where in that procedure execution stood, when it is known. Known for the activation the error was raised in — that is the faulting statement — and not for its callers, whose activation records do not carry the location of the call they are suspended at.

public SourceLocation? Location { get; init; }

Property Value

SourceLocation?

ProcedureName

The name of the procedure the activation is of.

public string ProcedureName { get; init; }

Property Value

string

Methods

ToString()

The frame as one line: the procedure's name, and the 1-based line and column of the faulting statement when that is known.

public override string ToString()

Returns

string