You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, Chrome truncates any console.log messages over a certain character limit (you can view the untruncated message by clicking the expand arrow in Chrome DevTools
However, when DWDS reads from the console.log stream, it is getting only the truncated messages:
Uh oh!
There was an error while loading. Please reload this page.
Creating a DWDS-specific issue from flutter/devtools#3222
dart:developer
uses theconsole.log
web API fordeveloper.log
: https://github.com/dart-lang/sdk/blob/7933cd741d01239367c58f9a384a2bad4a086c4f/sdk/lib/_internal/js_dev_runtime/patch/developer_patch.dart#L70console.log
messages over a certain character limit (you can view the untruncated message by clicking the expand arrow in Chrome DevToolsconsole.log
stream, it is getting only the truncated messages:webdev/dwds/lib/src/services/chrome_proxy_service.dart
Line 1243 in 4d1de26
Some options:
Is there some way to get the non-truncated
console.log
messages from Chrome's log stream?If not, we can use
emitDebugEvent
indevleoper_patch
to send messages to DWDS instead of console.logging them (this is what dart-lang/sdk@c83eeac did forpostEvent
). This is the proposal here: Flutter Web truncates logs written with dart:developer flutter/devtools#3222 (comment)The text was updated successfully, but these errors were encountered: