[R-SIG-Mac] Debugging package code in Xcode?

Neil Tiffin neilt at neiltiffin.com
Wed Jul 8 15:34:17 CEST 2009

You might research gdb fb command (future-break.)  It allows you to  
set a breakpoint in code that is not loaded when the debugger is  
started.  I believe you would have to use the debugger console not the  
GUI with a syntax like "fb rgl.so:function_name".

On Jul 8, 2009, at 5:57 AM, Duncan Murdoch wrote:

> I'd like to use Xcode to debug the rgl package, which is crashing  
> sometimes in X11 on OSX.   In the past, I've done this for debugging  
> R itself, and have a project set up for that.  I can attach to the  
> process ID, and then I see rgl.so is loaded, but I can't see how to  
> set a breakpoint in the rgl.so code.
> Has anyone else done this before?  Can you point me to step-by-step  
> instructions?
> Duncan Murdoch
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

More information about the R-SIG-Mac mailing list