ropensci / unconf18

http://unconf18.ropensci.org/
44 stars 4 forks source link

Debugging workflow #14

Open jeroen opened 6 years ago

jeroen commented 6 years ago

I would be very interested in a brief tutorial or demo by @jimhester or @kevinushey in debugging a C problem without printf(). Preferably on both MacOS and Windows. cc @jennybc.

screen shot 2018-03-23 at 3 28 06 pm

jimhester commented 6 years ago

Windows is a bit of a pain, but I have managed to do it before so could probably get it working again to demo

kevinushey commented 6 years ago

I'd like to see @jimhester's debugging workflow too :-)

I could try to prepare something worth showing. One of the nice things about R on Windows being built with MinGW is that the bundled gdb.exe seems to work well when attached to R.

jeroen commented 6 years ago

You better share some of that sweet synergy @jimhester :)

michaelquinn32 commented 6 years ago

Not to spoil anything too much ;), but does the workflow have a call to R -d gdb somewhere along the way?

mmulvahill commented 6 years ago

I would like to see @jimhester's debugging magic as well