Re: What Does Error Return ?
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