You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing the same issue. After some investigation, I found that this is a problem with the latest Flutter version 3.16.0. Looks like at some point thread IDs became int64, while in DAP it is expected to be int32 and that breaks the debugging. I see it is already reverted with this commit dart-lang/sdk@eda6963, dart-lang/sdk#53086
But unfortunately looks like this commit was not released with the stable Flutter version. My current workaround is to use Flutter beta channel (Flutter 3.17.0-0.0.pre • channel beta), debugging works there.
So closing this issue, because there is nothing we can do in this plugin to fix it.
Is there an existing issue for this?
Current Behavior
Running
:lua require 'dap'.continue()
withLaunch Flutter
will result in a crash with the following error:Error retrieving stack traces: type 'double' is not subtype of type 'int' in type cast
(It works in VSCode)
Expected Behavior
The debugger runs correctly and stops at the breakpoint.
Steps To Reproduce
flutter create my_app
main
function:lua require 'dap'.continue()
and selectLaunch Flutter
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: