flutter / flutter/devtools

Breaking on exceptions while being in widget inspector mode catches widget inspector exceptions

オープン
#4,878 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug bash P2 screen: debugger
主要言語
Dart
スター
1.7k
フォーク
404
平均マージ
6日 17時間
マージ済み PR(30日)
18

説明

How to reproduce:

- In Inspector page, enable widget inspection
- In Debugger page, select "All exceptions" to pause on all exceptions
- Select a widget in the app
- Go back to Inspector page
- You will see "Main isolate is paused in the debugger"
- Go back to Debugger page
- See that you are paused on an exception from `widget_inspector`

Ways to fix:
- When pausing on exceptions, ignore exceptions with `widget_inspector` in the stacktrace if in widget inspector mode
- Disable breakpoints during widget inspection
- Other ways?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。