unconf18 icon indicating copy to clipboard operation
unconf18 copied to clipboard

Debugging workflow

Open jeroen opened this issue 7 years ago • 5 comments

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

jeroen avatar Mar 23 '18 14:03 jeroen

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

jimhester avatar Mar 23 '18 14:03 jimhester

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.

kevinushey avatar Mar 23 '18 16:03 kevinushey

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

jeroen avatar Mar 23 '18 16:03 jeroen

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

michaelquinn32 avatar Apr 11 '18 23:04 michaelquinn32

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

mmulvahill avatar May 15 '18 03:05 mmulvahill