Modify

Opened 14 years ago

Closed 14 years ago

#1407 closed Feature Request (Rejected)

Change the Trace Tools to use @ScriptLineNumber

Reported by: exodius Owned by: Jos
Milestone: Component: SciTE4AutoIt
Version: Severity: None
Keywords: Cc:

Description

The Add Trace Lines and Add Func Trace Lines are both awesome tools for tracking the flow of a large, complex script, but their curent output creates a static reference to each line when you ran them.

Example:
ConsoleWrite('@@ (41) :(' & @MIN & ':' & @SEC & ') _CreateGUI()' & @CR) ;### Function Trace

I propose replacing the static line number reference with @ScriptLineNumber so even if you make changes to your script after adding the trace lines, the line numbers remain accurate.
Example:
ConsoleWrite('@@ (' & @ScriptLineNumber & ') :(' & @MIN & ':' & @SEC & ') _CreateGUI()' & @CR) ;### Function Trace

Attachments (0)

Change History (1)

comment:1 Changed 14 years ago by Valik

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

Did you even bother to think about this?

  1. @ScriptLineNumber does not work in compiled scripts.
  2. There's a command to remove Trace statements, there's a command to add Trace statements. I wonder what would happen if you removed them then added them again?

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 owner will remain Jos.
Author


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

 
Note: See TracTickets for help on using tickets.