Skip to content

"Last message repeated 133 times" #1787

@enchev

Description

@enchev

From @enchev on May 30, 2016 12:15

From @manijak on May 4, 2016 11:10

I was trying to debug my app and added several console.log lines in different parts of code (functions where I fetch data). And watched the osx terminal for clues.

I noticed the following line appear either before or after my console.log lines:
May 4 12:26:15 --- last message repeated 133 times ---

I was freaking out right about now. Looks like my service was called 133 times after tapping once on the refresh button! But no.

Opened the Debug > System log console via the iOS simulator to see all the lines. And it happens that this line has nothing to do with my app.

May  4 12:25:45 MacBook-Pro assertiond[46357]: assertion failed: 15E65 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
May  4 12:26:15 --- last message repeated 133 times ---
May  4 12:26:16 MacBook-Pro assertiond[46357]: assertion failed: 15E65 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
May  4 12:26:16 MacBook-Pro assertiond[46357]: assertion failed: 15E65 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
May  4 12:26:27 --- last message repeated 26 times ---
May  4 12:26:27 MacBook-Pro routined[46342]: CoreLocation: Error occurred while trying to retrieve motion state update: CMErrorDomain Code:104
May  4 12:26:29 MacBook-Pro assertiond[46357]: assertion failed: 15E65 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
May  4 12:26:48 --- last message repeated 57 times ---
May  4 12:26:48 MacBook-Pro fkzeljoapp[50283]: CONSOLE LOG file:///app/partial-views/fixtures/fixtures.js:134:20: fetch Fixtures - Done
May  4 12:26:48 MacBook-Pro fkzeljoapp[50283]: CONSOLE LOG file:///app/partial-views/fixtures/fixtures.js:112:20: fetch Results - Done
May  4 12:26:48 MacBook-Pro fkzeljoapp[50283]: CONSOLE LOG file:///app/partial-views/videos/videos.js:29:18: fetch Videos - Done
May  4 12:26:49 MacBook-Pro fkzeljoapp[50283]: CONSOLE LOG file:///app/partial-views/teams/first-team.js:116:24: fetch FirstTeam - Done
May  4 12:26:49 MacBook-Pro fkzeljoapp[50283]: CONSOLE LOG file:///app/partial-views/articles/articles.js:25:18: fetch Articles - Done
May  4 12:26:49 MacBook-Pro fkzeljoapp[50283]: CONSOLE LOG file:///app/partial-views/teams/first-team.js:129:24: fetch TeamBench - Done
May  4 12:26:52 MacBook-Pro assertiond[46357]: assertion failed: 15E65 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
May  4 12:27:22 --- last message repeated 49 times ---
May  4 12:27:46 MacBook-Pro assertiond[46357]: assertion failed: 15E65 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
May  4 12:27:46 MacBook-Pro assertiond[46357]: assertion failed: 15E65 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
May  4 12:28:16 --- last message repeated 6 times ---

So it looks like the CLI console is showing some irrelevant information that can give people heart attacks :)
It ignores the "assertion failed:" comments but prints out the "last message repeated x times", this can easily lead to confusion when running the app via osx terminal.

Copied from original issue: #1737

Copied from original issue: NativeScript/ios-jsc#570

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions