- Replace the pretty printer with the one the debugger uses.
- Rework the output. Try walking around a circular mmap'd buffer instead of using the logging daemon. Use a NULL to note the start of the log. Alternatively switch between writing over two buffers.