Modify

#2559 closed Feature Request (Rejected)

Array incorrect number of subscripts

Reported by: KaFu Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:

Description

Hiho Devs,

I have a feature request regarding the infamous / feared / well known "AutoIt Error: Line xxx, Error: Array variable has incorrect number of subscripts or subscript dimension range exceeded."

Would it be possible to add not only the Line number (which is esp. in large scripts quite hard to track because of comments etc.) but also the failing script line itself below the custom error message for Info? That would make it much easier to debug.

Regards

Attachments (0)

Change History (6)

comment:1 by TicketCleanup, on Dec 17, 2013 at 7:00:01 PM

Version: 3.3.8.1

Automatic ticket cleanup.

comment:2 by guinness, on Dec 18, 2013 at 3:39:09 AM

This can be done with Obfuscator using the parameter /MO.

comment:3 by Jpm, on Dec 19, 2013 at 3:07:57 PM

If you use Scite just double click on the error message in the below pane

comment:4 by mlipok, on Jan 4, 2014 at 1:30:08 PM

KaFu
Are you using the current version of SciTe4AutoIt which contains the relevant amendment to Obfuscator.exe

look here:
http://www.autoitscript.com/trac/autoit/ticket/2524

comment:5 by mLipok, on Apr 29, 2017 at 7:26:16 PM

"
Would it be possible to add not only the Line number (which is esp. in large scripts quite hard to track because of comments etc.) but also the failing script line itself below the custom error message for Info? That would make it much easier to debug.
"
In compiled script there is only one line per entire script.
In non compiled scirpt you should use @Jpm suggestion to click in Error Message in SciTE console.

Also @guinness and mine sugestion to use Obfuscator , or currently rather Au3Stripper.exe is the solution you may use to fined where the issue in your scirpt is located.

After this I think this request could be closed.

comment:6 by Jos, on Jul 22, 2017 at 1:16:40 PM

Resolution: Rejected
Status: newclosed

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.