Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ring-buffer for debug messages. Complicated (see full message).
When debugging is disabled, messages with a prio of DEBUG get stored in d_buf, which is a ring buffer of 64 lines; on enabling debugging, the contents of this buffer are flushed to the (status) tab. Consequently, if something strange happens and you want to debug it, you can read all the debugging info about what just happened; but all that debugging info won't fill up buf 0 and cause visible messages to disappear from the (status) tab when debugging is disabled.
- Loading branch information
ec429
committed
Mar 2, 2012
1 parent
0a18ee9
commit e184c8b
Showing
8 changed files
with
165 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.