-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
DAP throws error when debugging with neovim in Flutter 3.16.0 because threadIds are too large #54087
Comments
@christopherfujino @bkonyi looks like we unfortunately ended up with the Flutter stable getting a DDS release between the break and revert for this (looks like DDS 2.9.5 was never released, so Flutter was still on 2.9.4 until a later DDS release). Hotfixing this would require a DDS 2.9.4 hotfix with the revert, then a Flutter hotfix to include that. I don't know how complicated that is or whether this will meet the bar. I think the issue only affects neovim users, but I don't know how many there are (@christopherfujino do you have any stats on |
Ah shoot, I didn't realize 2.9.5 hadn't been published. I checked out eda6963 and retrospectively published 2.9.5, so it should be a safe cherrypick into Flutter 3.16 if we decide to go for it. |
@bkonyi yeah, I forgot to ping for it too. I think I had assumed there would be other fixes and a release and lost track. I discussed with Jacob and he thinks this is worth cherry-picking. @christopherfujino this doesn't need a Dart SDK release, just updating the package from Pub. I recall the process for that was not so trivial - is it documented somewhere? (btw I've opened flutter/flutter#138736 to see if we can come up with a way to keep these things better in-sync around the time of releases) |
CP request here |
The fix shipped in Flutter 3.16.3 (see flutter/flutter#139177 (comment)). @sidlatau please let me know if you're still seeing issues after upgrading. |
Debugging works now, thanks for the fix! |
Excellent, thanks for confirming :-) |
Debugging stopped working after upgrading to Flutter 3.16.0
I am using neovim and https://github.com/mfussenegger/nvim-dap/ DAP adapter.
After some investigation I found that the issue is with thread ids - they are very big numbers, that does not fit to
int
.Looks like this is known issue: #53086, there is a revert commit that fixes it: eda6963
Would it be possible to include this fix to the next Flutter hotfix release?
More details:
There is an issue for this in nvim-flutter/flutter-tools.nvim#309
Request:
The text was updated successfully, but these errors were encountered: