devtools
devtools copied to clipboard
Devtools cannot show traffic while using Dio in Isolate
When I am using Dio to run in Isolate to get data from network. Devtools cannot show request,response. It will work well it I use Dio to run in main thread in flutter.
// Not use Isolate: Devtool can show request and response
// Use Isolate: Devtool can not show request and response
// Flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.10.4, on macOS 13.2.1 22D68 darwin-arm64, locale en-VN) [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2) [✓] Xcode - develop for iOS and macOS (Xcode 14.3.1) [✓] Chrome - develop for the web [✓] Android Studio (version 2022.1) [✓] VS Code (version 1.77.3) [✓] Connected device (4 available) [✓] Network resources
• No issues found!
DevTools version: 2.23.1 Connected Device: CPU / OS: arm64 (64 bit) android Dart Version: 3.0.3 Flutter Version: 3.10.4 / stable Framework / Engine: 682aa387cf / 2a3401c9bb Connected app type: Flutter native (debug build)
I'm facing the same issue. In my case, I was considering using the IsolateClient from ferry. https://ferrygraphql.com/docs/isolates
How should one approach debugging network communication when using isolates?
This may have been fixed if this is a duplicate of #3033 , but we will need to repro to verify.
Still facing the same issuse is DevTools version 2.34.3
with flutter 3.22.3