Hello,

I am trying to debug some C code that is run only through a R package. I debug 
with lldb but I always get a message telling that the package "was compiled 
with optimization - stepping may behave oddly; variables may not be available.” 
And in fact, I cannot evaluate all variables and understand what is wrong. I 
have created a Makevars file in ~/.R/ that contains C=clang -O0 -g but it does 
not seem to change much. What should I do to make sure I can evaluate all 
variables in lldb? I am on a Mac and I wrote C=clang because I read that it 
produced much better error messages but I am happy to use gcc as well if this 
can be a solution.

Many thanks

Guillaume
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to