Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 2.2.1: Slow Debugging

Since the update to version 2.21 the Debugging has become very slow. One exmaple: When I start my app without the debugger in completes one function in less than 2 seconds. With the debugger connected I have to wait more than 4 minutes for its completion. The update 2.2.2 did not solve this problem. What can I do to increase the debug speed again?

like image 252
zimmerrol Avatar asked Oct 24 '16 20:10

zimmerrol


3 Answers

Make sure your debugger option is correct.

like image 156
Zhen Xu Avatar answered Oct 17 '22 21:10

Zhen Xu


See this, it helped me massively:

Intellij Debugger slow: Method breakpoints my dramatically slow down debugging

I was waiting up to a minute when debugging for the first webservice call to return. CPU and memory monitors peaked during this period. Removed the Java Method Breakpoints and hey presto, back to normal.

like image 22
Nick Wright Avatar answered Oct 17 '22 21:10

Nick Wright


check your break-points added to your code for debugging before, I fixed this problem with release break-points that added on UI function

like image 2
Amir Ardalan Avatar answered Oct 17 '22 21:10

Amir Ardalan