develop/debug_dump_rda.R

dump_and_quit <- function() {
  # Save debugging info to file last.dump.rda
  dump.frames(to.file = TRUE)
  # Quit R with error status
  q(status = 1)
}
options(error = dump_and_quit)

load("tmp/last.dump.rda")
debugger(last.dump)
bgctw/REddyProc documentation built on May 3, 2024, 11 a.m.