Android Question Rapid debugger extremely slow

ddahan

Member
Licensed User
Longtime User
Recently, The debugger in rapid mode is getting extremely slow. the phenomena started a few days ago, rapid mode started to be slow more and more until the point that it is not usable.
I'm working with a real device (Galaxy Note 2) via USB and with Genymotion virtual device (great solution) - both are facing same issue.
Legacy and release modes are working well in both devices.
I tried to go back to early versions of the project that used to be fast but still facing severe performance degradation.
No indications noticed in the logs.
 

ddahan

Member
Licensed User
Longtime User
It does not resolve the issue. Legacy mode is 5-6 time faster.
Take in account that early versions of the project used to run much faster and now are very slow.
 
Upvote 0

ddahan

Member
Licensed User
Longtime User
I'm starting to get random error messages during compilation:

Parsing code. 0.18
Compiling code. 0.49
Compiling layouts code. 0.00
Generating R file. 0.04
Compiling generated Java code. Error
javac 1.7.0_51
src\com\Mindspot\Mindset\main.java:146: error: error while writing main.B4AMenuItemsClickListener: bin\classes\com\Mindspot\Mindset\main$B4AMenuItemsClickListener.class (Access is denied)
private class B4AMenuItemsClickListener implements android.view.MenuItem.OnMenuItemClickListener {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: src\com\Mindspot\Mindset\utils.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error​

and this one:

Parsing code. 0.18
Compiling code. Error
Access to the path 'C:\Users\David\Basic4Android\Projects\Mindset\Sources\Mindset V0.86\Objects\bin\classes\com\Mindspot\Mindset\main$WaitForLayout.class' is denied.​

and this one:

Parsing code. 0.19
Compiling code. Error
Error compiling program.
Error description: Access to the path 'C:\Users\David\Basic4Android\Projects\Mindset\Sources\Mindset V0.86\Objects\src\com\Mindspot\Mindset\contactsutils.java' is denied.
Occurred on line: 300
End Sub​

and than, on the next run it works works well.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Maybe the space in "Mindset V0.86" could be the problem? Have you tried rename the folder to have no space in filename or any foldername?
 
Upvote 0

ddahan

Member
Licensed User
Longtime User
Space is not a problem, probably Erel is right.
in the meanwhile, the problem is gone. Now we have to focus on the Rapid mode performance issue.
 
Upvote 0
Top