• 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
Script Debugger influencing error catching?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: EOF error on one user's Mac
  • Next by Date: Display Dialog
  • Previous by thread: Disk Quota Notification
  • Next by thread: Display Dialog
  • Index(es):
    • Date
    • Thread