Closed Bug 1406192 Opened 8 years ago Closed 8 years ago

Console truncating log messages

Categories

(DevTools :: Console, defect, P3)

57 Branch
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: wael.musleh, Unassigned)

References

Details

(Keywords: dupeme)

Attachments

(1 file)

Attached image 2017-10-05_14-19-51.jpg
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0 Build ID: 20171002181526 Steps to reproduce: Called console.log(JSON.stringify(someBigObject)); Actual results: The message was truncated to 1000 character length Expected results: The full string should be displayed, I tried up to 25000 length in MS Edge and Chrome and both displayed the full message.
Component: Untriaged → Developer Tools: Console
Keywords: dupeme
We are adding the ability to expand those strings in Bug 1310630. The limit is 10,000 at the moment. Maybe we'll think about having a pref, or bumping up this limit.
Status: UNCONFIRMED → NEW
Depends on: 1310630
Ever confirmed: true
Priority: -- → P3
Bug 1310630 is resolved now, and you can click on the string to get its full length. Could you try it and check that's an acceptable solution for you ?
Flags: needinfo?(wael.musleh)
(In reply to Nicolas Chevobbe [:nchevobbe] from comment #2) > Bug 1310630 is resolved now, and you can click on the string to get its full > length. Could you try it and check that's an acceptable solution for you ? Thanks Nicolas, the new change looks great, I can see the new arrow which expands/collapses the large string value.
Flags: needinfo?(wael.musleh)
Great ! Let's close this then (resolved in Bug 1310630)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: