Modify

Opened 5 years ago

Closed 5 years ago

#3735 closed Bug (Works For Me)

_DebugOut all output on one line

Reported by: anonymous Owned by: Jpm
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 Changed 5 years ago by Jos

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

comment:2 Changed 5 years ago by apoliemans

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 Changed 5 years ago by Jos

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 5 years ago by Jos (previous) (diff)

comment:4 Changed 5 years ago by Jos

  • Owner set to Jpm
  • Status changed from new to assigned

comment:5 Changed 5 years ago by Jpm

  • Resolution set to Works For Me
  • Status changed from assigned to closed

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

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 Jpm.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.