[futurebasic] Re: [FB] Debugging AppleEvents in MacOS X

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2002 : Group Archive : Group : All Groups

From: Herbie Gluender <H.Gluender@...>
Date: Fri, 17 May 2002 13:50:32 +0200
Dear Heather,

thank you very much for this valuable hint.

***********************************************
> >  Is there an easy way to watch/log AppleEvents on Mac OS X?  On 9 I use the
> >  Capture AE control panel for this.

> From the command line:

>  % setenv AEDebug 1
>  % setenv AEDebugSends 1
>  % setenv AEDebugReceives 1
>  % "/Applications/AppleScript/Script Editor.app/Contents/MacOS/Script
>  Editor"
_______________________________________________

>  That last line is to launch the application that you want to debug, 
>  it must be the path to the actual executable not the '.app' bundle. 
>  The Terminal will dump all the debug info to the terminal window 
>  (stdout), so in some cases you might want to redirect the output to a 
>  file.  My UNIX is rusty so I'm not sure how to do that.  Using > or 
>  tee doesn't seem to work unless I'm doing it wrong.

>  Once you quit the application, the console debugging will stop.  The 
>  setenv parameters aren't persistent through quitting Terminal.app
***********************************************

Best,

Herbie
***************************
Munich/Bavaria