• 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: What Does Error Return ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What Does Error Return ?


  • Subject: Re: What Does Error Return ?
  • From: Alex Zavatone <email@hidden>
  • Date: Fri, 13 Mar 2015 12:08:13 -0400

If you want that, I strongly suggest purchasing the Script Debugger form Late Night Software.

It has a debug mode and you can set breakpoints.

Other options are to log messages in your code so you can narrow down where an error occurs.


Sent from my iPad. Please pardon typos.

On Mar 13, 2015, at 11:28 AM, Luther Fuller <email@hidden> wrote:

> Thanks Yvan.
> I tried your script and found that 'from' and 'to' seem to be explaining details of the error message text.
>
> There is more to this question ...
> My reason for looking at the information returned by 'error' was to determine if it
> contained the name of the handler where the error occurred.
>
> It does not and I have not found any way to obtain this information.
>
> This would be extremely useful to know this when an error occurs.
> When a user reports a bug to me, I get the error number and message text,
> but I have to tediously inquire about what was being done when the error
> occurred so that I can identify where it occurred.
>
> Is there any way to obtain the name of the handler where an error occurs ?
> (I don't think so, but perhaps someone knows more.)
>
>
>
>
> _______________________________________________
> 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

 _______________________________________________
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: 
 >What Does Error Return ? (From: Luther Fuller <email@hidden>)
 >Re: What Does Error Return ? (From: Luther Fuller <email@hidden>)

  • Prev by Date: Can't Coerce String to Date?
  • Next by Date: Re: What Does Error Return ?
  • Previous by thread: Re: What Does Error Return ?
  • Next by thread: Re: What Does Error Return ?
  • Index(es):
    • Date
    • Thread