[Feature] Passive exception capture mode in the Debugger tab
まだ誰も着手していません。
評価
調査の方向性
「Debugger」タブの例外モードセレクターから開始し、VM Service Debug イベントストリームのイベントと resume 動作をどのように処理しているかを追跡します。「Logging」タブと DevTools のローカルサーバープロセスを確認し、既存の出力パスを調べます。完了条件は、Debug Mode 専用の「Log exceptions」オプションが、route、timestamp、count を含む重複排除済みの例外詳細を、指定された .devtools Markdown ファイルに記録することです。
索引モデルが issue の本文から書いたものです。
説明
Problem
The Debugger's existing exception modes (Ignore, Uncaught, All) - all share the same behaviour: the VM pauses and waits for the developer to resume. This breaks down for intermittent bugs, timing-sensitive flows, and exceptions that are hard to reproduce on demand. There is currently no way to let the app run freely and collect exception data without altering the conditions that produced it.
The Logging tab surfaces FlutterError output but as a raw unstructured stream - no deduplication, no route context, no export. It is not designed for this workflow.
Proposed solution
Add a fourth option to the existing exception mode selector in the Debugger tab:
- Ignore exceptions
- Uncaught exceptions
- All exceptions
- Log exceptions <- new
When active, DevTools listens to the VM Service Debug event stream for exception events without sending a resume signal - the VM is already emitting these, this mode just doesn't pause on them. Captured exceptions are deduplicated by stack trace hash and written continuosly to Example - ".devtools/exception_log_<timestamp>.md" at project root via the DevTools local server process written to disk as exceptions are captured.
Each entry captures exception type, message, stack trace, current route, timestamp, and occurrence count for Debug Mode only.
- 主要言語
- Dart
- スター
- 1.7k
- フォーク
- 405
- 平均マージ
- 4日 21時間
- マージ済み PR(30日)
- 15
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
flutter/devtools のほかの issue
-
cleanup P1
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
a: quality cost: low P2
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
contributions welcome cross-screen inspector-2.0-polish P2
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
cross-screen P3
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
documentation good first issue P2
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
flutter/devtools の issue をすべて見る
似ている issue
-
bug triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
fluttercommunity/plus_plugins#3979 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
from.page-issue
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
enhancement UI: Material
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Notsfsssf/pixez-flutter#1360 ·
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100