From csardi.gabor at gmail.com  Fri Mar 13 02:04:42 2015
From: csardi.gabor at gmail.com (=?UTF-8?B?R8OhYm9yIENzw6FyZGk=?=)
Date: Thu, 12 Mar 2015 21:04:42 -0400
Subject: [Rd] How do you debug the R implementation?
In-Reply-To: <55020B39.2030005@oracle.com>
References: <55020B39.2030005@oracle.com>
Message-ID: <CABtg=Km1yjbu_=D=88VCoSs+dmnwAwV_AW7d6+k23E6BxsZAwg@mail.gmail.com>

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]]



[Rd] How do you debug the R implementation?
=?UTF-8?B?R8OhYm9yIENzw6FyZGk=?=