Modify

Opened 6 years ago

Closed 6 years ago

#3735 closed Bug (Works For Me)

_DebugOut all output on one line

Reported by: anonymous Owned by: J-Paul Mesnage
Milestone: Component: AutoIt
Version: Other Severity: None
Keywords: Cc:

Description

OK in 3.3.15.0
Not OK in 3.3.15.1

_DebugOut puts all output onto one line, it fails to send CRLF between calls.

#include <Debug.au3>
_DebugSetup("Test")
For $i = 1 To 4
    _DebugOut("Line" & $i)
Next

Output:

Line1Line2Line3Line4

Expected:

Line1
Line2
Line3
Line4

Attachments (0)

Change History (5)

comment:1 by Jos, 6 years ago

Works fine for me with v3.3.15.1.
Have you modified anything yourself?

comment:2 by apoliemans, 6 years ago

Jos,
Thanks for checking.

How do you install?
I ran the v3.3.14.5 installer and then copied the extracted beta-zip into the install folders.
No other modifications. My v3.3.15.1 beta is dated 20-mar-2018.

Can you send me your Debug.au3?
Mine is 19-mar-2018 and had some CRLF stripping logic added around line 600 that I do not fully trust.

; remove last @CFLF or @LF
If StringRight($sData, 1) = @LF Then
   $sData = StringTrimRight($sData, 1)
   If StringRight($sData, 1) = @CR Then $sData = StringTrimRight($sData, 1)
EndIf

comment:3 by Jos, 6 years ago

The Beta v3.3.15.1 was never officially release, just an ZIP version, so I tested with v3.3.15.0 which obviously worked.... sorry :)
That code was removed again in rev 12148 on May 16, 2018 so I can only guess it is fixed now, but JPM should know as he made these changes and reverted them again.
I can't give you the current debug.au3 file as that requires multiple include file changes.

Jos

Last edited 6 years ago by Jos (previous) (diff)

comment:4 by Jos, 6 years ago

Owner: set to J-Paul Mesnage
Status: newassigned

comment:5 by J-Paul Mesnage, 6 years ago

Resolution: Works For Me
Status: assignedclosed

I confirm that the lastest commit to produce next beta 3.3.15.1 is OK

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


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