I have been trying to debug an AsyncTask in a Service today and I can't 
seem to get it to hit any of my breakpoints at all. It is very frustrating.

Am I doing something wrong or does this just not yet work in Android Studio 
(0.5.8)?

Michael Prentice
GDG Space Coast


On Thursday, August 29, 2013 5:06:01 PM UTC-4, Streets Of Boston wrote:
>
> Same here, but only occasionally.
>
> What irks me more is that putting breakpoints on multiple threads (or just 
> background threads) cause the app to hang (ANR error). After a break-point 
> has been hit, continuing may cause the debugger to block the app from 
> running and the debugger will be in a 'waiting for debugging command to 
> finish' state forever. The only way out of it is to kill the app (closing 
> Android Studio won't help; I guess the debug-socket on the app remains open 
> and blocked) and start all over.
>
>
> On Wednesday, August 28, 2013 11:45:31 AM UTC-4, Adam Vollmer wrote:
>>
>> Has anyone else been having trouble with debugging multithreaded code in 
>> Android Studio? I seem to be able to reliably hit breakpoints on my main 
>> thread, but on no other thread. This means that I completely miss points 
>> that I've set the breakpoint for, making debugging a very, very frustrating 
>> experience.
>>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to