Modify

Opened 12 years ago

Closed 9 years ago

#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, 12 years ago

Version: 3.3.8.1

Automatic ticket cleanup.

comment:2 by guinness, 12 years ago

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

comment:3 by J-Paul Mesnage, 12 years ago

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

comment:4 by mlipok, 12 years ago

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, 9 years ago

"
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, 9 years ago

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.