devtools
devtools copied to clipboard
DevTools network panel not capturing any request
We are using http-1.1.0 for network requests in our application. We noticed that the network panel is not working anymore, in previous Flutter versions it was working.
fvm flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel stable, 3.13.5, on macOS 13.4.1 22F82 darwin-arm64, locale en-GB)
! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/2.19.0/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/ndasim/fvm/versions/3.13.5. Consider adding /Users/ndasim/fvm/versions/3.13.5/bin to the front of your path.
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.2)
[✓] VS Code (version 1.82.2)
[✓] Connected device (3 available)
[✓] Network resources
DevTools version: 2.23.1 Connected Device CPU / OS: arm64 (64 bit) android Dart Version: 3.1.2 Flutter Version: 3.13.5 / stable Framework / Engine: 12fccda598 / bd986c5ed2 Connected app type: Flutter native (debug build)
Hmm this is curious. Could you please "Toggle Developer Tools" if you are in VSCode. Then see if there are any errors in the console that seem relevant?
Hi, sorry for my lateness, I'm not using VSCode, I'm using Android Studio. I'm sharing Chrome console view of it:
edit:
Here is the device info popup:
Also, there are a bunch of VM flags that I couldn't take ss of it, if you want to look at specific flags I can share them separately
Same problem. Running DevTools in Chrome (press v
on flutter run
process). Network panel not tracking anything (or rarely catches 2-3 requests and nothing more).
Not working on iOS Simulator nor Android Emulator.
I am using dio
for http requests.
Here's the doctor: Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.13.9, on macOS 14.0 23A344 darwin-arm64, locale ru-RU) [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2) [✓] Xcode - develop for iOS and macOS (Xcode 15.0) [✓] Chrome - develop for the web [✓] Android Studio (version 2022.3) [✓] VS Code (version 1.83.0) [✓] Connected device (3 available) [✓] Network resources
• No issues found!
same for me:
We have the same problem with flutter 3.16.5.
We use http 1.1.2.
We run the app on iOS and Android.
The problem appears when open devtools in
- Chrome startet from IntelliJ And
- using build in devtools in vs code.
same
Can you provide a small repro case that we can use to try and reproduce this issue? Thanks.
Without additional information we're not able to resolve this issue, so it will be closed at this time. You're still free to add more info and respond to any questions above, though. We'll reopen the case if you do. Thanks for your contribution!