Our application is occasionally hanging while it saves, where the core data raw file is being left locked (perhaps by our spotlight importer). We've verified that it's at a low-level file level, not at the core data level.
What I'm trying to do is figure out how to monitor the application while it's running so if I get this hang, I can look and see what recent activity has been happening (opening for writing, closing, locking, unlocking, etc.) so I can try figure out why I"m hanging.
Somebody suggested putting a breakpoint on the unix close() function but this doesn't seem to be caught.
Any suggestions for how to monitor our data file that's getting stuck, so we can get this all straightened out?