thisisnic commented on a change in pull request #11658: URL: https://github.com/apache/arrow/pull/11658#discussion_r747498642
########## File path: r/vignettes/developers/debugger.Rmd ########## @@ -0,0 +1,68 @@ +# Running R code with the C++ debugger + +As Arrow has C++ code at its core, debugging code can sometimes be tricky when +errors originate in the C++ rather than the R layer. If you are adding new code +which triggers a C++ bug (or find one in existing code), this can result in a +segfault. If you are working in RStudio, the session is aborted, and you may +not be able to retrieve the error messaging needed to diagnose and/or report +the bug. One way around this is to find the code that causes the error, and +run R with a C++ debugger. + +Firstly, load R with your debugger. The most common debuggers are `gdb` and `lldb` Review comment: Done -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org