WPILibC++  2020.3.2
StackTrace.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) 2008-2019 FIRST. All Rights Reserved. */
3 /* Open Source Software - may be modified and shared by FRC teams. The code */
4 /* must be accompanied by the FIRST BSD license file in the root directory of */
5 /* the project. */
6 /*----------------------------------------------------------------------------*/
7 
8 #ifndef WPIUTIL_WPI_STACKTRACE_H_
9 #define WPIUTIL_WPI_STACKTRACE_H_
10 
11 #include <string>
12 
13 namespace wpi {
14 
20 std::string GetStackTrace(int offset);
21 
22 } // namespace wpi
23 
24 #endif // WPIUTIL_WPI_STACKTRACE_H_
wpi
WPILib C++ utilities (wpiutil) namespace.
Definition: EventLoopRunner.h:17
wpi::GetStackTrace
std::string GetStackTrace(int offset)
Get a stack trace, ignoring the first "offset" symbols.