Re: [Bioc-devel] Unable to use lldb debugger

2021-07-02 Thread Martin Morgan
When I try to debug on my macOS, I need to do the following ``` R -d lldb (lldb) process launch --environment DYLD_LIBRARY_PATH=/Users/ma38727/bin/R-devel/lib ``` where `/Users/ma38727/bin/` is the location on my system where R is installed. Martin On 7/2/21, 11:32 AM, "Bioc-devel on behalf of

Re: [Bioc-devel] Unable to use lldb debugger

2021-07-02 Thread Hani Habra
Thank you Shian & Dolors for your replies. Shian, the error is on the C level so it does require a C level debugger (lldb being most useful). It does not require an M1 Mac though, so maybe I could try with my older mac next time... unless what Dolors says is true and I can no longer do the lldb co

Re: [Bioc-devel] Unable to use lldb debugger

2021-07-01 Thread Dolors Pelegri
Hi Hani, I’m working with an iMac and the debuger for R 4.1 doesn’t work, the command R -d lldb only works in R release 3.6.3 and previous https://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html#I-cannot-attach-debugger-to-R

Re: [Bioc-devel] Unable to use lldb debugger

2021-07-01 Thread Shian Su
Hi Hani, The command you showed works fine on my MacBook Pro. However I am on an Intel Mac. I see that your R is (arm64), so there’s probably some issues trying to attach across compatibility layers. Does your debugging specifically require C level debugging, and also M1 Macs? I’d see how far

[Bioc-devel] Unable to use lldb debugger

2021-07-01 Thread Hani Habra
Hi All, I'm trying to use the lldb debugger to debug some R code, but keep getting the following error: (base) R -d lldb (lldb) target create "/Library/Frameworks/R.framework/Resources/bin/exec/R" Current executable set to '/Library/Frameworks/R.framework/Resources/bin/exec/R' (arm64). (lldb) run