source: opengl-game/FileStackWalker.h@ e3bef3a

feature/imgui-sdl points-test
Last change on this file since e3bef3a was d9b6a1c, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 6 years ago

Print a stack trace in the event of a crash. Currently, the code for this on Windows outputs the stack trace to stderr, not to a log file.

  • Property mode set to 100644
File size: 246 bytes
Line 
1#ifndef FILE_STACK_WALKER_H
2#define FILE_STACK_WALKER_H
3
4#include "StackWalker.h"
5
6class FileStackWalker : public StackWalker {
7public:
8 FileStackWalker(int fd_out);
9protected:
10 int fd_out;
11
12 virtual void OnOutput(LPCSTR szText);
13};
14
15#endif
Note: See TracBrowser for help on using the repository browser.