Re: tracking EXC_BAD_ACCESS error in applescript command

2009-12-21 Thread François Guillet
That was a copy of the original call stack before I subclass NSScriptCommand. If I subclass NSScriptCommand and call executeCommand from this subclass, then the crash occurs as before, but of course the call stack changes accordingly. Anyway I put breakpoints in my subclass' methods to make sure

Re: tracking EXC_BAD_ACCESS error in applescript command

2009-12-20 Thread Jerry Krinock
On 2009 Dec 20, at 13:50, François Guillet wrote: > EXC_BAD_ACCESS error : > #0 0x7fff86951466 in -[NSScriptCommand _sendToRemainingReceivers] () > #1 0x7fff86951fe5 in -[NSScriptCommand executeCommand] () > #2 0x7fff8696902e in -[NSScriptingAppleEventHandler > handleCommandEvent

tracking EXC_BAD_ACCESS error in applescript command

2009-12-20 Thread François Guillet
Hi All, I'm trying to implement an object-first command targeted at the document of a document based app. Doing so always results in the same EXC_BAD_ACCESS error : #0 0x7fff86951466 in -[NSScriptCommand _sendToRemainingReceivers] () #1 0x7fff86951fe5 in -[NSScriptCommand executeComman