If it's possible, I would ask the tool developer to provide you with a command line or XPC version and try accessing these state transitions in a more UI-thread-friendly manner.
Have you stopped your debugger when the freeze happens to see what your main thread stack frame looks like? It might give you a clue what you can do, if anything. Use that, Instruments, and the Activity Monitor app if ran on a non-developer's machine. -- Gary L. Wade (Sent from my iPhone) http://www.garywade.com/ > On Sep 22, 2016, at 9:09 AM, Dave <d...@looktowindward.com> wrote: > > Ok, will do thanks a lot. The AppleScript is/should be on the Main Thread. I > am assuming that the App the Script has finished when it returns but maybe > that is not the case. I will look into that too. > > Thanks a lot for your help. > > Cheers > Dave > > >> On 22 Sep 2016, at 16:42, Jens Alfke <j...@mooseyard.com> wrote: >> >> >>> On Sep 22, 2016, at 5:20 AM, Dave <d...@looktowindward.com >>> <mailto:d...@looktowindward.com>> wrote: >>> >>> So I’m wondering if it is something to do with the AppleScript handling? >> >> AFAIK, AppleScripts can only be run on the main thread. But it’s been many >> OS releases since I worked with them. Even if it’s legal to run them from a >> background thread now, they might be doing something like dispatching the >> actual execution to the main thread? (I’m just speculating.) >> >> Anyway, if the main thread is unresponsive, then drop into the debugger and >> look at its stack to see what it’s blocked in. Experiment. >> >> —Jens >> > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/garywade%40desisoftsystems.com > > This email sent to garyw...@desisoftsystems.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com