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

Duncan Murdoch dmurdoch at pair.com
Wed Jul 7 12:20:34 CEST 2004


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

>
>-----Ursprüngliche Nachricht-----
>Von: Brueckner-Keutmann-GbR [mailto:hb at 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




More information about the R-help mailing list