Debugging with a Circular Buffer
evanjones.ca
evanjones.ca
In my logging system I write the data to the buffer in the natural format (without conversion), preceded by a type-marker. Then I have a tool to unpack the data entries and format them into text.