Issue with hot reloading while debugging
See original GitHub issueSteps to Reproduce
- Run app in debug mode
- Attempt to hot reload (Seems to happen more when paused on a breakpoint, but in general happens when you have a debugger attached)
- Notice it never reloads
Version info
[√] Flutter (Channel beta, v0.3.1, on Microsoft Windows [Version 10.0.16299.125], locale en-US)
• Flutter version 0.3.1 at C:\Users\pobor\Documents\flutter
• Framework revision 12bbaba9ae (3 weeks ago), 2018-04-19 23:36:15 -0700
• Engine revision 09d05a3891
• Dart version 2.0.0-dev.48.0.flutter-fe606f890b
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at C:\Users\pobor\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
• All Android licenses accepted.
[√] Android Studio (version 3.1)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 24.2.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
[√] IntelliJ IDEA Ultimate Edition (version 2018.1)
• IntelliJ at C:\Users\pobor\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\181.4668.68
• Flutter plugin version 24.0.2
• Dart plugin version 181.4668.60
[√] Connected devices (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)
• No issues found!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Write and debug code by using Hot Reload - Visual Studio ...
Open a project based on a supported application type. · Make sure that Enable native code debugging is disabled in the debugger settings...
Read more >Unable to Hot Reload on Visual Studio 2022 - Stack Overflow
Press the Hot Reload icon in the toolbar, then Settings from the icon's context menu (or access via Tools > Settings > Debugging)...
Read more >Hot Reload appears to hang when running under a debugger ...
NET 6 and attempt to apply a code change while under a debugger using the edit-and-continue/hot reload capabilities using “apply changes” (through either...
Read more >Edit running code with Hot Reload - JetBrains Rider
You can edit the code of a suspended program and then continue debugging without the need to restart the session. The affected project...
Read more >Is it possible to use hot reload while debugging in VsCode?
When you save a file and it reloads the debugger will detach because iirc dotnet launches a new process.
Read more >Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@patrykpoborca I get your point. I actually experienced this now. For a while, everything was working as expected. I was able to
Ctrl + s
and got the hot reload. But after some time hot reload got stuck and was ininitializing hot reload
so I did Stop the app completely and run it again and I wasUNABLE
to run hot reload withCtrl +s
only ctrl+. This is weirdJust to add that there are several reports of this issue from the user survey the Flutter team fielded in November 2019. More investigation into the root cause is needed.