Added code to capture stacktrace whenever an exception is thrown.

This commit is contained in:
2023-11-26 11:49:23 +01:00
parent adbb4fd0d1
commit c44350269a
2 changed files with 42 additions and 1 deletions

View File

@@ -58,6 +58,7 @@ public:
//
[[nodiscard]] Result<Stacktrace> captureStacktrace(unsigned skipFrames = 0) noexcept;
[[nodiscard]] const Optional<Stacktrace>& getExceptionStacktrace() noexcept;
template<typename TStream>
TStream& operator<<(TStream& stream, const Stackframe& stackframe)