I am trying to use gdb to debug compiled code in an R package in the same way as indicated in the video: https://vimeo.com/11937905 and Writing R Extensions in Section 4.4.
These sources say they use the R -d gdb command when starting R. However, whenever I try to do this, I get a message that WARNING: unknown option '-d' and R starts under normal conditions. Why doesn't R recognize the -d flag? I am using Windows 10.
windows r gdb
Matthew lueder
source share