Re: Modal dialog from a document-modal sheet

2008-09-03 Thread Joshua Pennington
If you turn on NSZombieEnabled, it will log a message informing you when a released object has been messaged. Just make sure and turn it off once you're done debugging or you're application will be leaking like a sieve! Cheers, Joshua On

Re: Modal dialog from a document-modal sheet

2008-09-02 Thread Scott Ribe
> I'm not sure where to place breakpoints yet Launch under the debugger, do what you do to lock it up, then in the debugger click the pause button and look at the stack to see where it is. This will often give you a clue; you'll often see it locked up trying to send a message to a particular objec

Re: Modal dialog from a document-modal sheet

2008-09-02 Thread norio
Thank you very much for your hot experience. I'm not sure where to place breakpoints yet, but will carefully look at the retain/release places. Let me thank you again. Nor On 2008/09/03, at 1:18, Scott Ribe wrote: Any suggestions and advices would be mush appreciated. Pause in the debugg

Re: Modal dialog from a document-modal sheet

2008-09-02 Thread Scott Ribe
> Any suggestions and advices would be mush appreciated. Pause in the debugger and see what your app is doing. Could be a retain/release problem, where you're messaging an object that was released and whose memory has been overwritten. (Can happen--I saw exactly this behavior, locked up, from an o

Modal dialog from a document-modal sheet

2008-09-02 Thread Nor
My app needs to open NSOpenPanel from a document-modal sheet using action-target model. However, after dismissing the NSOpenPanel and then pressing a close button on the sheet, even though my callback gets an event to close the sheet, orderOut: comes to do nothing but just cycling the rainbow curso