Verbose Error Messages?

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
jayv
Posts: 13
Joined: Wed Oct 03, 2007 12:39 am

Verbose Error Messages?

Post by jayv » Mon Feb 23, 2009 4:15 pm

When using iimInit, i see that it returns the error code (if applicable). However, when i get an error like -301, it is not very helpful in determining where the script failed. I know i can turn on logging, and in the log i can see the line number of the script that failed. Any chance i can get this level of detail from the scripting interface (so i don;t have to turn on logging?)
Marcia, Tech Support
Posts: 1094
Joined: Thu Jan 29, 2009 1:10 pm

Re: Verbose Error Messages?

Post by Marcia, Tech Support » Mon Feb 23, 2009 8:53 pm

Hello,

iimGetLastError() tells you what is the error. In case of error -301, for instance, iimGetLastError() informs also which macro line issued the error.
Regards,

Marcia
Post Reply