[R] GDB under windows
dmurdoch at pair.com
Thu Nov 6 18:37:30 CET 2003
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
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.
More information about the R-help