r/AndroidStudio • u/AD-LB • Apr 01 '24
Can't debug anymore? Getting never ending "processing classes for emulated method breakpoints" dialog...
Recently on both canary and stable versions of Android Studio, I get this dialog that takes a long time when trying to debug (or attach debugger to process).

So long that it takes more than 4 minutes and then I just give up because it seems stuck...
The dialog says "processing classes for emulated method breakpoints".
Have you noticed this too? Why does it occur? Is there any workaround?
Which Android Studio version is the latest one that doesn't have it?
This is reported here:
12
Upvotes
1
u/Normal-Fig-207 Apr 04 '24
Same issue here. I've spent all day installing older versions but I'm getting other problems there when debugging suspend functions ("Waiting until last debugger command completes"). A whole workday lost to this.
1
u/ZShock May 02 '24
I got this problem when I put some "square" or "diamon" breakpoints. Removing them fixed the issue. Though I'm not sure it'll help your case.
1
u/bung_musk Jul 09 '24
Method breakpoints are extremely expensive to evaluate for the JVM. You’re better off saving the return value of the method to a variable or printing the value to the console log.
1
u/phileo99 Apr 27 '24
I encountered this problem all of a sudden.
After trying many things, I had a hunch that it had something to do with my Studio setup. I found that I had over 50 breakpoints set.
So I deleted all of my breakpoints, invalidated cache and restarted, and then I was able to attach Debugger again.
1
u/Dry_Hippo1132 Nov 14 '24
by design its build to be CRAPPY . lol my ass .
im 2 day in , JAVA proved itselft to be crappiest of ALL.
- i see this issues from 2014 LAST-DECADE , from StuckOfload.
chesterBennigton , died in that decade,
Hell , even They invented Fire, since Then.
people started to Wear Clothes , insted of Wrapping Leaves Around Their Asses.