Debugging an app bundle on MacOSX

Henrik Brautaset Aronsen subsurface at henrik.synth.no
Sat Feb 9 10:31:34 PST 2013


Dirk Hohndel wrote:
> Henrik Brautaset Aronsen<subsurface at henrik.synth.no>  writes:
>
>> I had no problems when running as 1) or 2).  /tmp/file.txt was written
>> to, and so was /var/log/system.log.
>>
>> However, when run as 3) or 4), neither works.  Both operations fails
>> silently.
>>
>> Does anyone know what's going on here?  Mandatory sandboxing?  It's
>> driving me quite mad.
>
> Wow, that does sound extremely annoying. It will make it very hard to
> get debug output from people on Macs. And it makes no sense whatsoever
> not to allow syslog from an app.
>
> Do an exit(0) if file == NULL to see if the open fails already...

Yeah, I tried that as well.  file is non-null.  I have no idea what's 
going on here.

H


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130209/33cca52a/attachment.html>


More information about the subsurface mailing list