Re: Result too long for Event Log
Re: Result too long for Event Log
- Subject: Re: Result too long for Event Log
- From: Christopher Nebel <email@hidden>
- Date: Mon, 22 Jul 2002 13:24:56 -0700
On Sunday, July 21, 2002, at 12:44 PM, Doug McNutt wrote:
I seem to be able to read the contents of a 27 kB file but if I try to
use the Event Log window for debugging I get a message that the result
is too long to display and the script is forced to terminate. Error
-20013 is mentioned in the event log but the real error shows up in a
modal dialog first.
I don't want to see the whole file as a result, but I do want the log
as an aid to further development.
Unfortunately, Script Editor isn't smart enough to deal with this
sensibly. Logging a single item bigger than 20 kiB will cause an error,
as you saw. (This is considered a bug, but we obviously haven't fixed
it yet.) I can only suggest trying an alternate debugging environment,
or limit the logged value yourself.
--Chris Nebel
AppleScript Engineering
_______________________________________________
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.