Status Update
Comments
pa...@gmail.com <pa...@gmail.com> #2
I've explained the bug
vi...@google.com <vi...@google.com>
pa...@gmail.com <pa...@gmail.com> #3
Many times it's very sluggish. Today it hangs completely with Waiting until last debugger command completes
runnning my app in debugger mode, outside any thread and I've waited around 10 minutes, and I've decided to produce the dump and log files, as oriented by Google support.
So I'm posting the idea.log
and the dump.txt
(using JStack -l 8100 >dump.txt
, where 8100
is PID
, that I've
found with jps -mv | findstr studio
command in command line.
When I try to interrupt the Android Studio freezing pressing stop
(red icon) it shows the message in a window popup: Waiting for debugger response
and after a while, it gets back to normal, but I have to do the whole process again. This freeze occurs onky with 2 simple breakpoints and just one variable in watch list. I think that it's too simple to crash...
pa...@gmail.com <pa...@gmail.com> #5
Google
and JetBrains
has something in common: Both completely ignore this very old problem, which is reported by many users.
In StackOverflow
I've found JetBrains
Google
and JetBrain
has told me in my issue tracker and after I pass the dumps and logs, that the responsibility is on Google
. And what about Google
? Guess what! Google
says nothing .....
rp...@google.com <rp...@google.com>
du...@google.com <du...@google.com> #7
Not ignoring you at all, actually. We've experienced this in our work as well, but we don't have a reproducible case like you're encountering.
I think one of the first things to try, if you haven't already, is to see if this still happens with a new USB cable. Also, does this happen with the emulator?
pa...@gmail.com <pa...@gmail.com> #8
I find this awful situation almost always. I's a big part of my day. My physical device that I'm using is Samsung S20 FE. Nowadays, I'm debugging using wi-fi, no USB. Virtual emulation is so slow, i don't use it! My Android Studio is completely updated and I have no RAM memory problem and memory settings in Android Studio are Ok. Another issue is infinite evaluation window in debugging.
My personal trick is debugging some breakpoints in my source code until freeze and, after, I start debugging where it has stopped last time.
Now I'm trying a workaround proposed in the comment section in my question in StackOverflow (
I've disabled "Enable alternative view for Collections classes" and "Enable ToString object view" (File / Settings / Build, Execution, Deployment / Debugger / Data Views / Java. Addionally I've disabled "Enable auto expressions in Variables view" (File / Settings / Build, Execution, Deployment / Debugger / Data Views)
du...@google.com <du...@google.com> #9
We've made a bunch of improvements to debugger performance. Are you still experiencing this issue?
Can you check with USB? ADB over wifi is not in a good state, and we're fixing that up right now.
Description
AI-193.6911.18.40.6626763, JRE 1.8.0_242-release-1644-b01x64 JetBrains s.r.o, OS Windows 7(amd64) v6.1 Service Pack 1, screens 1920x1080
AS: 4.0.1; Kotlin plugin: 1.4.0-release-Studio4.0-1; Android Gradle Plugin: 4.0.1; Gradle: 6.1.1; NDK: from local.properties: (not specified), latest from SDK: (not found); LLDB: pinned revision 3.1 not found, latest from SDK: (package not found); CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)
IMPORTANT: Please read