Jonathan G Rennison
60dabc68a0
Add a scope info logger for DoSetViewportPosition calls
2020-04-27 17:21:11 +01:00
Jonathan G Rennison
cbdd9f84d8
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/console_gui.cpp
# src/lang/korean.txt
# src/video/sdl2_v.cpp
# src/video/sdl2_v.h
# src/window.cpp
# src/window_gui.h
2019-11-12 18:43:10 +00:00
Jonathan G Rennison
c82c1aa271
Bump scope_dumper buffer size to 512 bytes
2019-01-30 22:46:55 +00:00
Jonathan G Rennison
8805ab8387
Add tile info dump method to scope_dumper
2018-07-26 18:52:47 +01:00
Jonathan G Rennison
e2a4e51725
Enable use of scope_dumper without scope info logging enabled
2018-07-25 08:13:15 +01:00
Jonathan G Rennison
faf4cdc0f4
Scope info: Add station/waypoint info dumper
2018-05-31 18:36:12 +01:00
Jonathan G Rennison
0062881a46
Avoid using malloc in scope guard logger.
...
Use a temporary object with its own buffer, which lives on the stack.
Reformat SCOPE_INFO_FMT to not be all on one line.
Other minor reformatting.
2016-02-25 00:20:31 +00:00
Jonathan G Rennison
5cf2b04f6a
Initial implementation of scope guard logging for including in crash logs.
...
This adds a mechanism to create scope guards with an associated std::function
which is called to output diagnostic info in the event of a crash.
Add a macro to make it easy to efficiently capture variables on the stack
and output a formatted message.
Requires C++11, #ifdefed out for legacy compilers.
2016-02-17 22:41:07 +00:00