xtd 0.2.0
Loading...
Searching...
No Matches

◆ stack_frame() [4/9]

xtd::diagnostics::stack_frame::stack_frame ( size_t  skip_frame,
bool  need_file_info 
)

Initializes a new instance of the xtd::diagnostics::stack_frame class that corresponds to a frame above the current stack frame, optionally capturing source information.

Parameters
skip_frameThe number of frames up the stack to skip.
need_file_infotrue to capture the file name, line number, and column number of the stack frame; otherwise, false.