From sfalcon at fhcrc.org  Sun Feb  4 22:40:00 2007
From: sfalcon at fhcrc.org (Seth Falcon)
Date: Sun, 04 Feb 2007 13:40:00 -0800
Subject: [Rd] Problem using ofstream in C++ class in package for MacOS X
In-Reply-To: <45C6400A.3050700@aon.at> (cstrato@aon.at's message of "Sun,
	04 Feb 2007 21:20:26 +0100")
References: <45C6315F.9020209@aon.at>
	<17862.14169.654577.51179@basebud.nulle.part>
	<45C6400A.3050700@aon.at>
Message-ID: <m2d54pob4f.fsf@fhcrc.org>

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



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