Re: [R] AW: Howto debug R on Windows XP?

From: Duncan Murdoch <dmurdoch_at_pair.com>
Date: Wed 07 Jul 2004 - 20:20:34 EST

On Wed, 7 Jul 2004 10:50:18 +0200, "Brueckner-Keutmann-GbR" <hb@brueckner-keutmann.de> wrote:

>
>-----Ursprüngliche Nachricht-----
>Von: Brueckner-Keutmann-GbR [mailto:hb@brueckner-keutmann.de]
>Gesendet: Wednesday, July 07, 2004 9:48 AM
>An: R_Help Mailing List
>Betreff: Howto debug R on Windows XP?
>
>
>Hello,
>
>I start working with R and I have tried to debug R on a Windows XP system.
>Unfortunately I am not able to set a breakpoint in the package SJava, which
>I am interested in.
>So far I succeed to compile R with the "DEBUG=T" option, and followed the
>hints given in the manual/FAQs about debugging.
>After starting the gdb, I also succeed with
>
>> break WinMain
>> run
>
>so that the program stops there. The debugger is also
>able to find und list the function "R_ReadConsole", but the command
>
>> break R_ReadConsole
>
>is replied:
>
>"Cannot access memory at address 0x1e6a0"
>
>Can anybody give a hint how to continue?
>
>My motivation is to use the SJava package and to continue the work Jens
>Oehlschlaegel and Ingo von Otte started with.

I've written some web pages about debugging in R that are mostly oriented towards Windows users. Go to
http://www.stats.uwo.ca/faculty/murdoch/software/debuggingR I'm not sure what's going wrong for you, but you're not doing things the way I would.

These web pages are quite new; please let me know what is missing or unclear.

Duncan Murdoch



R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Jul 07 20:25:44 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:54:44 EST