public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* GDB for R?
@ 2018-11-29  2:45 Andrew Hoerner
  2018-11-29 14:32 ` Joel Brobecker
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Hoerner @ 2018-11-29  2:45 UTC (permalink / raw)
  To: gdb

Dear Folks--

I would very much like to know if there is any appreciable probability that
there will be a GDB debugger for the R language in a time frame of months
to single-digit years. I’d also like to know if there is pretty clearly no
such probability.

It seems clear to me that GDB is vastly more powerful than any R debugging
facility in widespread use.

I do not believe that there is anyone in the R community currently working
on this, and I have asked in several places. Still, I don’t know anything
at all about nearly all R projects currently under development. I have
found instances and tutorials on using GDB on C and C++ code, functions,
and libraries that are incorporated into or called by R, which I believe
suggests the possibility of substantial interest and uptake, though this
might be reduced by the relatively small proportion of R users who are
professional programmers.

The draft 2nd edition of Hadley Wickham’s Advanced R, Chapter 20 on
debugging, states “The worst scenario is that your code might crash R
completely, leaving you with no way to interactively debug your code. This
indicates a bug in the underlying C code. This is hard to debug. Sometimes
an interactive debugger, like gdb, can be useful, but describing how to use
it is beyond the scope of this book."

Warmest regards, Andrew Hoerner

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-12-01  4:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-29  2:45 GDB for R? Andrew Hoerner
2018-11-29 14:32 ` Joel Brobecker
2018-11-29 14:41   ` Pedro Alves
2018-11-30  1:22     ` Andrew Hoerner
2018-12-01  4:09     ` GDB for R? Some info on current use of GDB with R Andrew Hoerner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).