-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fetch full developer.log
messages
#2333
Conversation
Will update the CHANGELOG once I reset DWDS (it was just released): #2334 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm so excited you found the answer to the truncating message! Thank you so much!
Is there an easy way to reproduce the truncating so that we can test it is no longer happening?
And just to document our in person conversation, we can look into the inspect()
API as well.
developer.log
messagesdart.developer.log
messages
dart.developer.log
messagesdeveloper.log
messages
Added a test case, and opened a bug and added a TODO for inspect |
My |
Hi @toineheuvelmans ! Could you file an issue here with steps to reproduce? https://github.com/dart-lang/webdev/issues/new?assignees=&labels=package%3Awebdev&projects=&template=webdev.md It's possible we aren't able to fetch the full logs here:
Thanks! |
Fixes #2330, flutter/devtools#3222
The CDP consoleAPICalled event args are
RemoteObjects
with only theobjectPreview
provided. ThisobjectPreview
is what we were previously constructing theRemoteLog
from. Since they are only a preview, the log messages are abbreviated.To get the full log message, we need to fetch the full object using
getProperties
.Confirmed that we now see unabbreviated logs in DevTools: