[Rd] How do you debug the R implementation?

2015-03-12 Thread Mick Jordan
This is a question for the folks who are developing the C part of the R implementation, and not about R debugging. I'm curious what tools developers use to debug the C implementation on Mac OS and Linux (my two platforms). And, if you happen to use gdb, whether anyone has any macros to

Re: [Rd] How do you debug the R implementation?

2015-03-12 Thread Gábor Csárdi
On OSX I suggest using lldb instead of gdb, it works better with the toolchain. If you want C level profiling, try Instruments, it is part of xcode. See also http://cran.r-project.org/doc/manuals/r-devel/R-exts.html#Debugging-compiled-code Gabor On Thu, Mar 12, 2015 at 5:55 PM, Mick Jordan