flutter / flutter/devtools

Serving and debugging a web app prints unactionable survey errors

Đang mở
#8,405 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
cross-screen P2 web debugging
Ngôn ngữ chính
Dart
Star
1.7k
Fork
404
Merge trung bình
6 ngày 17 giờ
Pull request đã merge (30 ngày)
18

Mô tả

Copied from: https://github.com/dart-lang/sdk/issues/56843

When I try running and debugging a (in this case, pure Dart) web app with `webdev serve --debug`, I get repeated survey errors that are unactionable and aren't relevant to developers:

```
[INFO] Serving DevTools at http://127.0.0.1:56627
[INFO] Serving `web` on http://127.0.0.1:8080
[INFO] Running build completed, took 54ms
[INFO] Caching finalized dependency graph completed, took 90ms
[INFO] Succeeded after 146ms with 0 outputs (0 actions)
[INFO] Debug service listening on sse://127.0.0.1:56677/ecP-qts8hmU=/$debugHandler

ERROR: setActiveSurvey not called. - api/getSurveyShownCount
ERROR: setActiveSurvey not called. - api/getSurveyActionTaken
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```

Reproduction steps:

1. `dart create -t web web_app`
2. `dart pub add dev:webdev`
3. `dart run webdev serve --debug`
4. Open DevTools, either through the output link or the debug extension.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.