Bug? B4A 5.0 - Log lines

Discussion in 'Bugs & wishlist' started by NJDude, Jun 10, 2015.

  1. NJDude

    NJDude Expert Licensed User

    When entries to the log happen one after another quickly they are displayed in a single line, e.g:
    Code:
    ** Activity (main) Create, isFirst = true **~i:** Activity (main) Resume **
    ** 
    Service (player) Create **
    ** 
    Service (player) Start **
    ** 
    Service (player) Destroy **~i:** Service (player) Create **
    ** 
    Service (player) Start **
    ** 
    Service (player) Destroy **
    ** 
    Service (player) Create **
    ** 
    Service (player) Start **
    ** 
    Service (player) Destroy **~i:** Service (player) Create **
    ** 
    Service (player) Start **~i:** Service (player) Destroy **~i:** Service (player) Create **~i:** Service (player) Start **
    ** 
    Service (player) Destroy **
    ** 
    Service (player) Create **
    ** 
    Service (player) Start **
    ** 
    Service (player) Destroy **~i:** Service (player) Create **
    ** 
    Service (player) Start **
     
    Last edited: Jun 10, 2015
  2. Erel

    Erel Administrator Staff Member Licensed User

    Are you using B4A-Bridge or USB debug mode?
     
  3. warwound

    warwound Expert Licensed User

    I noticed this yesterday.
    The device was writing lots of log lines in a short period and many appeared on the same line in the IDE log window.

    I was using a device connected to my laptop via adb wireless.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Does it happen with this code:
    Code:
    Sub Activity_Create(FirstTime As Boolean)
       
    For i = 1 To 10000
         LogColor(
    "slkdjf lksdfj sldkf ", -i * 1000)
       
    Next
    End Sub
    ?
     
  5. NJDude

    NJDude Expert Licensed User

    USB
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    I wasn't able to reproduce it, however I think that I know what caused it. It will probably work correctly in the next update.
     
    DonManfred likes this.
  7. Pendrush

    Pendrush Active Member Licensed User

Loading...