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.
skip_frame | The number of frames up the stack to skip. |
need_file_info | true to capture the file name, line number, and column number of the stack frame; otherwise, false. |