Re:Debug Programs by Modifying Them
by nefitty on Wednesday April 28, 2021 @03:04AM
(#26966573)
This is genius. I hadn’t heard of this logging style before. I’m going to try it tomorrow morning.
[ Parent
| on HN ]
A variant I developed in an embedded system, which had weirdly defective debugging facilities: define an area of memory which is not cleared on startup. Log into a circular buffer there. On startup, output the contents of the buffer over the serial link (or similar).