Serving and debugging a web app prints unactionable survey errors
- Vorherrschende Sprache
- Dart
- Sterne
- 1.7k
- Forks
- 404
- Ø Merge
- 6 T. 17 Std.
- Gemergte PRs (30 T.)
- 18
Beschreibung
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.
Beitragsleitfaden
Rechercherichtung
Reproduce the issue with `dart create -t web web_app`, `dart pub add dev:webdev`, and `dart run webdev serve --debug`, then open DevTools and trace the survey API calls producing the repeated errors. Done means serving and debugging the web app no longer prints these unactionable survey errors.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- dart
- Bereich
- devtools
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 30/100