Modify

Opened 16 years ago

Closed 16 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 by Valik, 16 years ago

Resolution: Rejected
Status: newclosed

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?

Modify Ticket

Action
as closed The owner will remain Jos.

Add Comment


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