flutter / flutter/devtools

Infinite loading on Dart app. Working fine on Flutter

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

説明

Hello,
I'm trying to load the DevTools for a Dart program but I get and infinite loading screen.
I don't know what is wrong, as it is working perfectly fine when running a Flutter app (v3.13.2)
I've tried with Dart (from Flutter) and with a clean installation of Dart stable 3.1.1, both failing

### Steps to reproduce:

Dart 3.1.1

```sh
dart run --observe bin/main.dart
```

Open the url that appears after running the program.

```
The Dart VM service is listening on http://127.0.0.1:8181/Xdx1RcwliL8=/
The Dart DevTools debugger and profiler is available at: http://127.0.0.1:8181/Xdx1RcwliL8=/devtools?uri=ws://127.0.0.1:8181/Xdx1RcwliL8=/ws
```
### System information

Dart 3.1.1
Flutter 3.13.2
Linux 64 bits

### main.dart
```dart
import 'dart:io';

void main() {
print("hello world");

while (true) {
print("Wait input");
final input = stdin.readLineSync();
}
}
```

### Browser console

That "error" also shows up when loading a Flutter devtools session, so I'm guessing that is not the cause

![image](https://github.com/flutter/devtools/assets/22084723/b7c893f0-f4a3-46a3-9f9f-395f77fee8e9)

### Loading screen
![image](https://github.com/flutter/devtools/assets/22084723/5d15b56f-5978-4fe6-87fc-690c80a02373)

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

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

評価

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

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

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