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

[upstream] Exception when running in the VS Code debugger #5

Closed
josxha opened this issue Nov 2, 2023 · 1 comment
Closed

[upstream] Exception when running in the VS Code debugger #5

josxha opened this issue Nov 2, 2023 · 1 comment
Assignees
Labels
bug Something isn't working flutter_map_cache invalid This doesn't seem right

Comments

@josxha
Copy link
Owner

josxha commented Nov 2, 2023

VS Code has a bug where exceptions in async dart functions get caught even if they are actually handled.
The error message is:

DioException (DioException [request cancelled]: The request was cancelled.)
image

This can be ignored, because the request cancelled exception gets handled by the package since flutter_map_cache version 1.3.1.

For more information about this issue see:

If you don't want the app to pause for those exceptions, you can uncheck the following debugger checkboxes:
image

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@josxha josxha added bug Something isn't working invalid This doesn't seem right labels Nov 2, 2023
@josxha josxha self-assigned this Nov 2, 2023
@josxha josxha changed the title Exception when running in the VS Code debugger [upstream] Exception when running in the VS Code debugger Nov 2, 2023
@PatrickWulfe
Copy link
Contributor

Not a permanent solution, but I'm switching to just using a regular tile provider when kDebugMode == true to avoid this issue.

@josxha josxha changed the title [upstream] Exception when running in the VS Code debugger [flutter_map_cache] [upstream] Exception when running in the VS Code debugger Jan 30, 2024
@josxha josxha changed the title [flutter_map_cache] [upstream] Exception when running in the VS Code debugger [upstream] Exception when running in the VS Code debugger Jan 31, 2024
@josxha josxha closed this as not planned Won't fix, can't repro, duplicate, stale Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working flutter_map_cache invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants