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 <mick.jordan at oracle.com>
wrote:
> 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 simplify seeing inside the R internal data
> structures.
>
> Thanks
> Mick Jordan
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
[[alternative HTML version deleted]]