Skip to content

Howto debug R on Windows XP?

3 messages · Brueckner-Keutmann-GbR, Duncan Murdoch

#
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
so that the program stops there. The debugger is also
able to find und list the function "R_ReadConsole", but the command
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.

Thanks for your help!

Herbert Br??ckner
#
-----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
so that the program stops there. The debugger is also
able to find und list the function "R_ReadConsole", but the command
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.

Thanks for your help!

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

            
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