Re: Variables pane of Script Debugger
Re: Variables pane of Script Debugger
- Subject: Re: Variables pane of Script Debugger
- From: Bert Groeneveld <email@hidden>
- Date: Thu, 23 Jul 2009 18:45:29 +0200
Hello Mark, can you please adjust the code of my simple example to
demonstrate it to me?
Of course I read the help file of Script Debugger, but unfortunately
after trying several things I seem to be unable to get it to work.
I also uncommented --local y, but that makes no difference. I still
only see the value of x in the side pane of Script Debugger.
Bert.
On 23 jul 2009, at 16:14, Mark Alldritt wrote:
Hello,
On 23-Jul-09, at 3:32 AM, email@hidden
wrote:
Hello, how can I see the value of y in the variables pane of Script
Debugger when I run this simple examplescript in debug mode:
set x to 3
beeping(x)
on beeping(x)
--local y
set y to 5
beep x
delay 2
beep y
end beeping
Script Debugger requires that local variables be declared explicitly
using AppleScript's 'local' statement in order for them to appear in
the Variables browser and in the Expressions browser. More
information is presented in Script Debugger's online help. Just
search for 'local' to get more information.
Cheers
-Mark
------------------------------------------------------------------
Mark Alldritt Late Night Software Ltd.
Phone: 250-380-1725 333 Moss Street
Fax: 250-383-3204 Victoria, B.C.
Web: http://www.latenightsw.com/ CANADA V8V-4M9
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
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