Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Waiting until last debugger command completes

When I debug smali with Smalidea on idea or Android Studio, I get a mistake say Smalidea throws an uncaught NullPointerException, and in the variables it says "Waiting until last debugger command completes", but 20 minutes later, nothing happens. Can anyone tell me how to resolve it ?

like image 659
zhaotianyu Avatar asked Nov 29 '16 10:11

zhaotianyu


3 Answers

I know this is an old question, but I had a different fix that solved the same issue, and that might be useful for others. I had a tonn of old breakpoints hanging around. Once I deleted all, all my problems with Android Studio went away, "Waiting until last debugger command completes", forever "Collection data...", and the IDE was much more snappy as well.

Just goto: Run > View Breakpoints... and delete the breakpoints you do not need.

like image 91
Oyvind Habberstad Avatar answered Oct 22 '22 12:10

Oyvind Habberstad


Ok,I can answer my question now.It's because of too many registers in watches frame.When I delete all registers,it goes ok.But how can I debug it with many register?

like image 40
zhaotianyu Avatar answered Oct 22 '22 11:10

zhaotianyu


Following steps worked for me.

1.Force stop app if its already installed. 2. build > Clean Project

like image 42
Molly Avatar answered Oct 22 '22 13:10

Molly