debugme icon indicating copy to clipboard operation
debugme copied to clipboard

Easy and efficient debugging for R packages

Results 24 debugme issues
Sort by recently updated
recently updated
newest added

What would it take to make it easier to turn debugging messages on (and off) during development? I think just a helper function would be nice versus manually setting an...

feature

We could add ids to the debug messages somehow, and then jump to their place in the code quickly, either just showing the code on the screen like `tracer`, or...

idea
feature

Q: when a `"!DEBUG ..."` message does not meet the `!`-threshold, why is its ``` `expression` ``` still evaluated? ```r .onLoad sessionInfo() R version 4.0.3 (2020-10-10) Platform: x86_64-w64-mingw32/x64 (64-bit) Running...

bug

First, thanks for putting this package together it is nice having the ability to have debug statements in a package with almost no cost. I recently started adding debugme to...

enabling debugme through R environment variable (and building the package again), modifies data.frames in R6 class fields from data.frames to lists. zzz.R ``` .onLoad testClass object generator Public: df2: data.frame...

bug

That will allow debugging subprocesses.

feature

- [ ] Make sure that enabling/disabling of {plogr} is consistent with the {debugme} strategy - [ ] Make {plogr} use the same output routine - [ ] Show a...

feature
documentation

Could be implemented with an argument to `debugme()`, like `debugme::debugme(formatter = debugme:::handle_dynamic_code(.))` . Perhaps even with the default `formatter = .`.

feature

Even if they don't explicitly support `debugme`. Just add traces to both at the beginning and end of functions. Could be a little too much, though.

idea
feature

- [ ] 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...

feature