Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#476 closed Bug (Fixed)

Function Trace lines have to be removed manually

Reported by: Bowmore Owned by: Jos
Milestone: Future Release Component: SciTE4AutoIt
Version: Other Severity: None
Keywords: Cc:

Description

SciTE4AutoIt 17-5-2008 release
AutoIt 3.2.13.5
Win XP Pro SP2

In SciTE4AutoIt function trace lines inserted using the 'Tools->Trace:Add Func Trace Lines' tool have to be removed manually as neither the
'Tools->Trace:Remove ALL Trace Lines'
or
'Tools->Debug Remove Lines'
remove the ConsoleWrite lines inserted by 'Tools->Trace:Add Func Trace Lines'

Attachments (0)

Change History (4)

comment:1 Changed 16 years ago by TicketCleanup

  • Version set to Other

Automatic ticket cleanup.

comment:2 follow-up: Changed 16 years ago by Jos

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

Will be fixed in the next version.
In the mean time you could update these lines:
Line 442-449:function AutoItTools:FunctionTracePattern(with_comment)

local nl = self:NewLineInUse()
if with_comment then

return nl .. "[%s]*;[%s]*(ConsoleWrite%([" .. nl .. "]-%)[%s]*;### Function Trace[" .. nl .. "]?)"

else

return nl .. "[%s]*(ConsoleWrite%([" .. nl .. "]-%)[%s]*;### Function Trace[" .. nl .. "]?)"

end

end -- FunctionTracePattern()

line 473 in AutoItTools.lua:

return m2 .. m4 .. self:NewLineInUse() .. "\tConsoleWrite('@@ (" .. editor:LineFromPosition(m1)+i .. ") :(' & @MIN & ':' & @SEC & ') " .. m3 .. "()' & @CR) ;### Function Trace"

comment:3 in reply to: ↑ 2 Changed 16 years ago by Bowmore

Thanks for the fix Jos

comment:4 Changed 16 years ago by TicketCleanup

  • Milestone set to Future Release

Automatic ticket cleanup.

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.