dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.12k stars 1.57k forks source link

DevTools not serving properly on app refresh #56091

Open kenzieschmoll opened 3 months ago

kenzieschmoll commented 3 months ago

Example URL: http://127.0.0.1:9102/cpu-profiler

The browser loads a blank white page with the message: "could not read file as String: cpu-profiler" (link)

Repro steps:

This should be treated as a release blocker. The fix is likely on the server side in DDS and not in DevTools app, so @elliette you should still be able to move forward with the devtools app release into the Dart SDK.

CC @bkonyi

dart-github-bot commented 3 months ago

Summary: DevTools fails to load profiler data after page refresh, displaying a "could not read file as String" error. The issue likely stems from a server-side problem in DDS, not the DevTools app.