[R] GDB under windows

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Nov 6 19:04:32 CET 2003

On Thu, 6 Nov 2003, Duncan Murdoch wrote:

> On Thu, 6 Nov 2003 11:04:25 -0000 , "Marsland, John"
> <John.Marsland at CommerzbankIB.com> wrote :
> >Does anybody have some simple instructions to get me going using the GNU
> >debugger GDB under windows with R? 
> >
> >The R Extensions manual mentions briefly debugging under unix, but I've seen
> >seen GDB mention in the Bloodshed Dev C++ IDE so it should be possible to
> >use it with R?
> I've got a few tips beyond those in the FAQ, but haven't had a chance
> to write them down anywhere.  If anyone wants to volunteer to write
> this up, I think it would be worthwhile putting them in a web page for
> future reference.
> One tip:  in recent versions of R (but hopefully not in 1.8.1), gdb
> always traps on a few memory allocation errors during startup.  This
> is irritating but harmless, continuing from that point on will
> eventually get R to start.

That is unlikely to be fixed in 1.8.1 but is already fixed in R-devel.  
The changes involved are quite far-reaching.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list