debugme icon indicating copy to clipboard operation
debugme copied to clipboard

Plans for V2

Open gaborcsardi opened this issue 7 years ago • 0 comments

  • [ ] 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
    ## !DEBUG { if (cond) browser() } blah
    
    works

gaborcsardi avatar Apr 28 '18 14:04 gaborcsardi