Skip to content

: Automatic Debugging

2 messages · ArtemisIrvine, Ben Bolker

#
Hi, I need help executing the debug() function automatically, as opposed to
line-by-line execution. Essentially I want to create something like this:

execute <- function(fname , farguments)
{
debug(fname)

....


undebug(fname)
}

Where "..." is a process which automatically runs debug until an error is
found.

Any help would be appreciated, thanks.