zhaotianyu
zhaotianyu

Reputation: 71

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 ?

Upvotes: 6

Views: 7457

Answers (3)

Oyvind Habberstad
Oyvind Habberstad

Reputation: 1052

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.

Upvotes: 5

Molly
Molly

Reputation: 1907

Following steps worked for me.

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

Upvotes: 1

zhaotianyu
zhaotianyu

Reputation: 71

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?

Upvotes: 1

Related Questions