• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Variables pane of Script Debugger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Variables pane of Script Debugger (From: Bert Groeneveld <email@hidden>)

  • Prev by Date: Adding a subfolder to an array of folders
  • Next by Date: Login window
  • Previous by thread: Variables pane of Script Debugger
  • Next by thread: Re: Variables pane of Script Debugger
  • Index(es):
    • Date
    • Thread