[Rd] Problem using ofstream in C++ class in package for MacOS X

Seth Falcon sfalcon at fhcrc.org
Sun Feb 4 22:40:00 CET 2007


cstrato <cstrato at aon.at> writes:
> Thank you for your fast answer.
> Sorrowly, I don´t know how to use a debugger on MacOS X, I am using 
> old-style print commands.

You should be able to use gdb on OS X (works for me, YMMV).  So you
could try:

      R -d gdb
      run
      # source a script that causes crash
      # back in gdb, use backtrace, etc.

+ seth



More information about the R-devel mailing list