This might be Linux specific, I have never tried it on anything else:

R -d gdb

library(<your-package>)

CTRL+C

break <an-entry-point-in-your-package-to-debug>

c

<your-function-to-debug>()

Maybe see also the R extensions manual,
Gabor

On Wed, Oct 8, 2008 at 3:28 AM, Droit Arnaud <[EMAIL PROTECTED]> wrote:
> Hello everybody,
>
> I have a package with a C codes called from R.
>  I want to debug the C functions to check variables values and to include 
> some breakpoints in the C codes.
> I am wondering if anyone knows of any  tools to easily help debug in the R 
> environment.
>
> Thank you very much for your help.
>
> Arnaud.
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Gabor Csardi <[EMAIL PROTECTED]>     UNIL DGM

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to