Function easynav::stacktrace
Defined in File NavState.hpp
Function Documentation
-
inline std::string easynav::stacktrace(std::size_t skip = 1, std::size_t max_frames = 64)
Captures a C/C++ stack trace as a string.
- Parameters:
skip – Number of initial frames to skip (e.g., the
stacktraceframe itself).max_frames – Maximum number of frames to capture.
- Returns:
A multi-line string with one frame per line.