8 #include "../core_export.h" 10 #include "../ustring.h" 16 class system_exception;
20 namespace diagnostics {
140 explicit stack_trace(
const std::exception& exception);
152 stack_trace(
const std::exception& exception,
size_t skip_frames);
190 stack_trace(
size_t skip_frames,
bool need_file_info);
197 stack_trace(
const std::exception& exception,
size_t skip_frames,
bool need_file_info);
202 stack_trace(
const std::exception& exception,
bool need_file_info);
214 static constexpr
size_t METHODS_TO_SKIP = 0;
255 size_t frame_count() const noexcept;
298 const
xtd::diagnostics::
stack_frame& get_frame(
size_t index) noexcept;
Defines the base class for predefined exceptions in the xtd namespace.
Definition: system_exception.h:24
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Represents a stack trace, which is an ordered collection of one or more stack frames.
Definition: stack_trace.h:39
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
std::string to_string(const date_time &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: date_time.h:1063
std::vector< xtd::diagnostics::stack_frame > stack_frame_collection
Represents a stack_frame collection.
Definition: stack_trace.h:45
Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the c...
Definition: stack_frame.h:37
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes...
Definition: object.h:32
Contains xtd::diagnostics::stack_frame class.