version 1.3, 2019/06/10 18:55:15 |
version 1.4, 2019/06/12 06:01:26 |
|
|
* Record a history of an mg session for temporal debugging. |
* Record a history of an mg session for temporal debugging. |
* Sometimes pressing a key will set the scene for a bug only visible |
* Sometimes pressing a key will set the scene for a bug only visible |
* dozens of keystrokes later. gdb has its limitations in this scenario. |
* dozens of keystrokes later. gdb has its limitations in this scenario. |
|
* |
|
* Note this file is not compiled into mg by default, you will need to |
|
* amend the 'Makefile' for that to happen. Because of this, the code |
|
* is subjet to bit-rot. However, I know myself and others have |
|
* written similar functionally often enough, that recording the below |
|
* in a code repository could aid the developement efforts of mg, even |
|
* if it requires a bit of effort to get working. The current code is |
|
* written in the spirit of debugging (quickly and perhaps not ideal, |
|
* but it does what is required well enough). Should debugging become |
|
* more formalised within mg, then I would expect that to change. |
*/ |
*/ |
|
|
#include <sys/queue.h> |
#include <sys/queue.h> |