flutter / flutter/devtools

Serving and debugging a web app prints unactionable survey errors

未关闭
#8,405 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
cross-screen P2 web debugging
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

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.

贡献指南

打开贡献指南

调研方向

使用 `dart create -t web web_app`、`dart pub add dev:webdev` 和 `dart run webdev serve --debug` 重现该问题,然后打开 DevTools 并跟踪产生重复错误的调查 API 调用。完成的标准是,在提供服务和调试 Web 应用时不再打印这些无法采取行动的调查错误。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart
领域
devtools
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。