Re: [Rd] Debugging tools and practices in Windows?

2017-02-23 Thread Ray Donnelly
On Thu, Feb 23, 2017 at 7:49 PM, Tomas Kalibera wrote: > The R for Windows FAQ suggests "make DEBUG=T" and has some more hints > https://cran.r-project.org/bin/windows/base/rw-FAQ.html > > Tomas > > > > On 02/23/2017 08:10 PM, Javier Luraschi wrote: > >> Right, I'm

Re: [Rd] Debugging tools and practices in Windows?

2017-02-23 Thread Tomas Kalibera
The R for Windows FAQ suggests "make DEBUG=T" and has some more hints https://cran.r-project.org/bin/windows/base/rw-FAQ.html Tomas On 02/23/2017 08:10 PM, Javier Luraschi wrote: Right, I'm talking about C code. Do you remember if you had to set specific CFLAGS or other settings to get gdb

Re: [Rd] Debugging tools and practices in Windows?

2017-02-23 Thread Javier Luraschi
Right, I'm talking about C code. Do you remember if you had to set specific CFLAGS or other settings to get gdb working? I wasn't able to get gdb() working with the standard build settings. Otherwise, Rprintf() would work for sure. Thank you! On Thu, Feb 23, 2017 at 10:55 AM, Duncan Murdoch

Re: [Rd] Debugging tools and practices in Windows?

2017-02-23 Thread Duncan Murdoch
On 23/02/2017 1:36 PM, Javier Luraschi wrote: Hello r-devel, could someone share the tools and practices they use to debug the core R sources in Windows? For instance, I would like to set a breakpoint in `gl_loadhistory` and troubleshoot from there. You're talking about debugging the C code