flutter / flutter/devtools

[Inspector] Infinite loading after a hot restart

未关闭
#9,152 10 条评论 3 个 reaction 已指派 1 人 已被 @elliette 认领 在 GitHub 查看
bug P1 screen: inspector
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

I was running into frequent infinite loading with my project. It usually happens after a hot restart.

To reproduce with my project:
1. Run `main.dart`.
2. Open the inspector in the side panel or the web.
3. After being loaded completely, trigger a hot restart.
4. The inspector starts infinite loading.

To stop it, I can only stop & rerun the entry point.

I can 100% reproduce this with a specific project, it doesn't seem to reproduce when I run with other projects.

![Image](https://github.com/user-attachments/assets/5e856e34-a7b1-4c73-ac1b-d77f745226f7)

___
**DevTools version**: 2.40.3
**IDE**: IntelliJ-IDEA
**Connected Device**:
CPU / OS: arm64 (64 bit) android
Connected app type: Flutter native (debug build)
Dart Version: 3.6.2
Flutter Version: 3.27.4 / stable
Framework / Engine: d8a9f9a52e / 82bd5b7209

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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