-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mention debugonce()? #51
Comments
I have literally never used this myself (barely ever used |
Hmmm, I have been using And I think I used when I was doing revdep checks (and PRs) for tibble v2.x. Once you figure out who's screaming, you do |
What would your workflow be in those situations? |
Generally when I am that far into the weeds debugging something I am planning on fixing it and sending a PR, so generally I do the standard But I can see how it would be useful and we probably should mention it. |
It's true that I was in the the source package at that point. So I think I did eventually use |
Thinking about this more I guess I typically use |
I think an interesting axis on which to compare all of these is how ephemeral they are, i.e. what it feels like to turn the debugging approach ON and OFF. I suspect that influences what we are choosing in different situations. |
And also the affordances in our preferred working environment, e.g. RStudio vs. emacs/vim, whether you have the source package yet or not, etc. |
Maybe in the
debug()
section here:https://whattheyforgot.org/debugging-r-code.html#debugging-others-code
The text was updated successfully, but these errors were encountered: