Closed Bug 1533800 Opened 7 years ago Closed 7 years ago

Group duplicate console messages

Categories

(DevTools :: Console, enhancement)

65 Branch
Desktop
All
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: astrothayne, Unassigned)

Details

Chrome has a nice feature where if there are consecutive occurrences of the same error, it will group them together and give a count of the occurrences, instead of printing the same error multiple times. This is quite helpful when a single error is spamming the console, since it makes it easier to see earlier messages (often it is the case that the repeated errors are the result of an earlier message).

Hello!
So, we already "repeat" error messages.

If you:

  1. Open data:text/html,<meta charset=utf8><script>document.addEventListener("click", () => {a.sdfd.sdf;})</script>
  2. Open the console
  3. Click in the content page multiple times

It will only display 1 error message in the console output, with a "repeat badge".
Should we do anything differently?

Flags: needinfo?(thayne)

hmm, that is the behaviour I was expecting, but not what I was seeing. Maybe the stack traces were slightly different or something. I'll close this and reopen if I see it again and can confirm it is not consolidating messages for a particular case with more information.

Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(thayne)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.