Skip to content
Prev 307414 / 398506 Next

Modern Symbolic debugger for R programmes?

On 12-10-09 12:12 AM, Worik R wrote:
You need to source the code with source references.  That is the default 
for source(), but not for package installation.  Set env variable 
R_KEEP_PKG_SOURCE=yes for command line installs; 
option(keep.source.pkgs=TRUE) for installs from within R.

Then you need to tell setBreakpoint where to look, through the "envir" 
arg.  See the 2nd example in the help page.
I thought you said you wanted a modern debugger :-).  GDB is very 80ish. 
I'm unaware of any debuggers that I would consider "modern", i.e. like 
the debuggers from the 90s, but there are a number of pre-modern choices 
that others have mentioned, and I don't think anyone has mentioned the 
debug package.

Duncan Murdoch