Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devtools cannot show traffic while using Dio in Isolate #7019

Closed
vuldk94 opened this issue Jan 3, 2024 · 4 comments
Closed

Devtools cannot show traffic while using Dio in Isolate #7019

vuldk94 opened this issue Jan 3, 2024 · 4 comments
Labels
fix it friday P2 important to work on, but not at the top of the work list. reproduce to verify Issues that need to be reproduced to verify that they still exist. screen: network Issues with the Network screen.

Comments

@vuldk94
Copy link

vuldk94 commented Jan 3, 2024

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
Screenshot 2024-01-03 at 11 32 33

// Use Isolate: Devtool can not show request and response
Screenshot 2024-01-03 at 11 34 32

// 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)

@kenzieschmoll kenzieschmoll added the screen: network Issues with the Network screen. label Jan 3, 2024
@motucraft
Copy link

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?

@kenzieschmoll
Copy link
Member

This may have been fixed if this is a duplicate of #3033 , but we will need to repro to verify.

@kenzieschmoll kenzieschmoll added the reproduce to verify Issues that need to be reproduced to verify that they still exist. label Jul 17, 2024
@kenzieschmoll kenzieschmoll added fix it friday P2 important to work on, but not at the top of the work list. labels Jul 17, 2024
@nicks258
Copy link

nicks258 commented Jul 24, 2024

Still facing the same issuse is DevTools version 2.34.3 with flutter 3.22.3

@elliette
Copy link
Member

Closing as a duplicate of #8380

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix it friday P2 important to work on, but not at the top of the work list. reproduce to verify Issues that need to be reproduced to verify that they still exist. screen: network Issues with the Network screen.
Projects
None yet
Development

No branches or pull requests

6 participants