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
{{ message }}
Repository navigation
Hot Reload opens binding.dart at line 845 on every reload (no errors shown) #61560
I was unable to reproduce this and we haven't seen any other reports of this issue. Do you happen to have any other VS Code extensions that might be triggering this behavior? Does it happen for hot restarts as well or just hot reloads?
@oneebzahid your launch config has "type": "chrome" which is not the right thing for starting a Flutter debug session - is that config related to this problem?
I tried to capture the logs using Dart: Capture Logs, but the problem didn't occur when i did that. Even when I 'cancelled' the log capture, it didn't happen.
But when I restarted the debug session (Started a new instance without log capture or debug). It started happening again.
I'll post the log but my Power just got cut off :(
In Flutter 3.35.7, I'm seeing exactly the behaviour described. Based on the timestamps I think I should have the fix. Should I log a new bug referencing this one?
@drrnbrns, as noted on the last few comments on the Flutter issue linked here (just above your comment) flutter/flutter#176693, the fix is not out on Flutter stable yet. There may be a beta, but I'm not sure I've not tested it myself on the latest beta.
The fix was a bit larger than we wanted to patch into 3.35 stable. The fix has been cherrypicked into the beta branch and will be included with the Flutter 3.38 release.
Activity
biggs0125 commentedon Sep 24, 2025
I was unable to reproduce this and we haven't seen any other reports of this issue. Do you happen to have any other VS Code extensions that might be triggering this behavior? Does it happen for hot restarts as well or just hot reloads?
sevrynx commentedon Sep 24, 2025
I posted this on StackOverflow and there seems to be one other person encountering the same issue. Here's the link to the form.
As for extensions:
alexisvt.flutter-snippets
circlecodesolution.ccs-flutter-color
dart-code.dart-code
dart-code.flutter
eamodio.gitlens
fwcd.kotlin
get-snippets.get-snippets
github.copilot
github.copilot-chat
jeroen-meijer.pubspec-assist
lyzerk.linecounter
pkief.material-icon-theme
usernamehw.errorlens
vscjava.vscode-gradle
This is what I have, I'll remove them one by one and check if it solves the problem. I'll get back to you in a few hours.
nshahan commentedon Sep 24, 2025
@oneebzahid
Could you share the configuration you are using for starting the debug session? Is this defined in your
launch_config.jsonfile?sevrynx commentedon Sep 25, 2025
Did you mean launch.json?
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
},
]
}
biggs0125 commentedon Sep 25, 2025
cc @DanTup in case you've seen this before
DanTup commentedon Sep 25, 2025
I've not seen this and I'm not able to reproduce.
@oneebzahid your launch config has
"type": "chrome"which is not the right thing for starting a Flutter debug session - is that config related to this problem?Are you able to capture some logs?
Thanks!
sevrynx commentedon Sep 25, 2025
I tried to capture the logs using Dart: Capture Logs, but the problem didn't occur when i did that. Even when I 'cancelled' the log capture, it didn't happen.
But when I restarted the debug session (Started a new instance without log capture or debug). It started happening again.
I'll post the log but my Power just got cut off :(
28 remaining items
[DWDS] Don't send PauseInterrupted event during a hot reload and publ…
[DWDS] Don't send PauseInterrupted event during a hot reload (#2695)
srujzs commentedon Oct 9, 2025
dart-lang/webdev#2695 has just landed and should fix the issue (tested locally) once DWDS releases a version and Flutter picks it up.
[DWDS] Don't send PauseInterrupted event during a hot reload (#2695)
[ Tool ] Roll package:dwds to 26.0.0
[ DWDS ] Prepare for 25.1.0+1 (#2696)
[ Tool ] Roll package:dwds to 26.0.0 (#176808)
[ Tool ] Roll package:dwds to 26.0.0 (flutter#176808)
drrnbrns commentedon Oct 29, 2025
In Flutter 3.35.7, I'm seeing exactly the behaviour described. Based on the timestamps I think I should have the fix. Should I log a new bug referencing this one?
FMorschel commentedon Oct 29, 2025
@drrnbrns, as noted on the last few comments on the Flutter issue linked here (just above your comment) flutter/flutter#176693, the fix is not out on Flutter stable yet. There may be a beta, but I'm not sure I've not tested it myself on the latest beta.
biggs0125 commentedon Oct 29, 2025
The fix was a bit larger than we wanted to patch into 3.35 stable. The fix has been cherrypicked into the beta branch and will be included with the Flutter 3.38 release.
[ Tool ] Roll package:dwds to 26.0.0 (flutter#176808)
[ Tool ] Roll package:dwds to 26.0.0 (#176808)