flutter / devtools

Performance tools for Flutter
https://flutter.dev/docs/development/tools/devtools/
BSD 3-Clause "New" or "Revised" License
1.58k stars 324 forks source link

DevTools tables broken with the Wasm build #8401

Open kenzieschmoll opened 3 hours ago

kenzieschmoll commented 3 hours ago

Screenshot 2024-10-03 at 5 10 52 PM

postEvent: (130) Custom stream does not exist
main.dart.mjs:72     at http://127.0.0.1:9101/main.dart.wasm:wasm-function[8274]:0x269518
    at http://127.0.0.1:9101/main.dart.wasm:wasm-function[9105]:0x27b697
    at http://127.0.0.1:9101/main.dart.wasm:wasm-function[9102]:0x27b5f2
    at http://127.0.0.1:9101/main.dart.wasm:wasm-function[9100]:0x27b55a
    at http://127.0.0.1:9101/main.dart.wasm:wasm-function[32304]:0x4afb78
    at http://127.0.0.1:9101/main.dart.wasm:wasm-function[2149]:0x1db299
    at http://127.0.0.1:9101/main.dart.wasm:wasm-function[2154]:0x1db2fb
    at http://127.0.0.1:9101/main.dart.wasm:wasm-function[1525]:0x1ca7e0
errors.dart:124 Uncaught Exception {}
$func1084 @ errors.dart:124
$func1041 @ errors_patch.dart:19
$$invokeCallback @ internal_patch.dart:116
(anonymous) @ main.dart.mjs:730Understand this error
main.dart.mjs:765 [zoneGuarded]: postEvent: (130) Custom stream does not exist
file:///b/s/w/ir/x/w/rc/tmpzgn2wydc/hosted/pub.dev/vm_service-14.3.0/lib/src/vm_service.dart 1872:14                    9105
file:///b/s/w/ir/x/w/rc/tmpzgn2wydc/hosted/pub.dev/vm_service-14.3.0/lib/src/vm_service.dart 1855:12                    9102
file:///b/s/w/ir/x/w/rc/tmpzgn2wydc/hosted/pub.dev/dds_service_extensions-2.0.0/lib/dds_service_extensions.dart 346:12  9100
file:///b/s/w/ir/x/w/rc/tmpzgn2wydc/hosted/pub.dev/dds_service_extensions-2.0.0/lib/dds_service_extensions.dart 77:12   32304
org-dartlang-sdk:///dart-sdk/lib/_internal/wasm/lib/async_patch.dart 103:30                                             2149
org-dartlang-sdk:///dart-sdk/lib/async/zone.dart 1422:47        

With JS: Screenshot 2024-10-03 at 5 10 30 PM

CC @eyebrowsoffire @bkonyi

kenzieschmoll commented 3 hours ago

Similarly, the data in the CPU profiler does not load with WASM:

Wasm: Screenshot 2024-10-03 at 5 14 27 PM

JS: Screenshot 2024-10-03 at 5 13 51 PM

kenzieschmoll commented 3 hours ago

Memory page too. This could be bad enough to turn the experiment off, or at least to delay socializing it until we can get a fix for this issue, since it is still "opt-in" only at this point. Screenshot 2024-10-03 at 5 15 39 PM