flutter / flutter/devtools

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

Đang mở
#4,878 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug bash P2 screen: debugger
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ả

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?

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.