Re: Variables pane of Script Debugger
Re: Variables pane of Script Debugger
- Subject: Re: Variables pane of Script Debugger
- From: Richard Rönnbäck <email@hidden>
- Date: Thu, 23 Jul 2009 12:06:30 +0200
- Thread-topic: Variables pane of Script Debugger
Title: Re: Variables pane of Script Debugger
Script debugger only display variables defined at top level (outside of handlers) so if you have no other variables with the name "y" in your script you can add the following line at the beginning of your script:
global y
other alternatives you can use for debugging purposes are adding "log y" inside of your handler and then look at the event log, or if it is a string or number add "say y", which you probably don't want in your script other than for debugging :-)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden