debugme
debugme copied to clipboard
Plans for V2
- [ ] Use comments, if possible. Comments look nicer, and they really have zero overhead. (It might not be possible, as it probably requires re-parsing the code, especially if CRAN will include the source refs without the parse data.)
- [ ] Assertions #32
- [ ] Re-think debug levels
- [ ] Tagging
- [ ] Turn debugging on-off using:
- Package names
- Debug levels
- Tags
- Function names
- File names
- Etc ???
- [ ] C/C++ support
- [ ] Formatters, defaulting to glue
- [ ] JSON (?) logging, basically some way to log composite objects that can be inspected
- [ ] Logging to a pipe or fifo, to be able to inspect, browse while the logging is active
- [ ] Interactive log browser, an HTML widget would be nice.
- [ ] Handle repeated log messages better
- [ ] Ability to stop in a
browser(), if the debug message is active. We probably just need to make sure that something like
works## !DEBUG { if (cond) browser() } blah