#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 by , 18 years ago
| Version: | → Other |
|---|
follow-up: 3 comment:2 by , 18 years ago
| Resolution: | → Fixed |
|---|---|
| Status: | new → 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"

Automatic ticket cleanup.