Modify

Opened 7 years ago

Closed 3 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 Changed 7 years ago by TicketCleanup

  • Version 3.3.8.1 deleted

Automatic ticket cleanup.

comment:2 Changed 7 years ago by guinness

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

comment:3 Changed 7 years ago by Jpm

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

comment:4 Changed 7 years ago by mlipok

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 Changed 3 years ago by mLipok

"
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 Changed 3 years ago by Jos

  • Resolution set to Rejected
  • Status changed from new to closed

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.