I am using android studio to debug my flutter app and everything is OK, but after editing code and hot reload new breakpoints are not working, why?
Hopefully after stop and debug again, breakpoints work but it take long time.
Related
how to solve this issue
I try to restart the application but it doesn't work for me.
When I have the app I'm designing running and I hit run, Android Studio stops the app and installs the new one. It won't run it though. Same if I hit Debug. Takes two times. How do I fix this? Invalidating caches didn't help.
Update: Version 4.0.1 didn't have this issue, but now it is back with 4.1.
I have an Archos Hello 7 tablet running on Android 8.1
When I try to launch the app in debug mode from Android Studio, the app starts but the screen stays black.
Debug mode works fine with other phones or tablet.
Removing all the breakpoints solved the problem, even though I'm sure that execution was not stopped on a breakpoint when I had the back screen.
To remove all the breakpoints in Android Studio, open
Run menu -> View Breakpoints...
then select all your breakpoints and hit the Delete button
I am using Android Studio 1.3 with DDMS on Linux 64-bit. For some reason, when I try to debug with DDMS by selecting my app in the process list and clicking the "bug" in the tool menu, it shows debugging as disabled (grayed out). However, if I close DDMS and just use Android Studio for debugging, then everything works fine. Note that I've installed the debug version of my app so I should be able to connect to it.
Is there a way to use DDMS and be able to debug my app at the same time? I've tried attaching with Android Studio and loading up DDMS but it seems I can only have one ADB session at a time. Therefore, I must close DDMs before I can debug my app.
When I debug my iOS app in Xamarin studio. If I set a breakpoint and run the app it stops and shows me my locals and everything is great the first time.
However any time after that if I run my app it stops on the breakpoint and the locals list is empty.
Has anyone run into this problem before?
The only way I can get the locals to show back up is to close Xamarin Studio and reopen it, and then they only work for one debugging session again.
The response in the Xamarin Forums:
This bug should be fixed in the upcoming 4.0.5 release.