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? Regards, John [Using R-1.8.0 under Windows NT 4.0] ********************************************************************** This is a commercial communication from Commerzbank AG.\ \ T...{{dropped}}
It's in the rw-FAQ! That describes this as `fraught' with good reason. On Thu, 6 Nov 2003, Marsland, John 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? > > Regards, > > John > > [Using R-1.8.0 under Windows NT 4.0]-- 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 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595
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. Duncan Murdoch