Script Debugger influencing error catching?
Script Debugger influencing error catching?
- Subject: Script Debugger influencing error catching?
- From: Chap Harrison <email@hidden>
- Date: Fri, 27 Feb 2004 15:31:38 -0600
Has anyone seen the Script Debugger (latenightsw) affect the outcome of
a script in this way?
The following behaves differently under the debugger than it does
otherwise (i.e. when running under Entourage, or under the Script
Editor)
tell application "FileMaker Pro"
tell database gLineItemsDB
try
set myLI_IDList to ID of (every record whose cell "Price" is "*") as
list
on error
set myLI_IDList to {}
end try
end tell
end tell
When there are no records meeting the criteria,
-- under debugger: enters 'on error' block (desired behavior)
-- ohterwise: raises an 'object not found' error that is not caught by
'on error'
Thanks, Chap
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.