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 , 6 years ago
comment:2 by , 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 , 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. I can't give you the current version as that requires multiple include file changes.
Jos
comment:4 by , 6 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:5 by , 6 years ago
| Resolution: | → Works For Me |
|---|---|
| Status: | assigned → closed |
I confirm that the lastest commit to produce next beta 3.3.15.1 is OK

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