Breakpoints within a service.

barx

Well-Known Member
Licensed User
Longtime User
Hi,
Ihave recently started playing with service modules and need to debug a little problem I have. So, I poppped the ide into debug mode set some breakpoints and compiled. It stops at first breakpoint for several seconds and then just whizzes on by the rest. Done a search on here and according to

this page

this is expected behaviour within a service. Is this dur to how android uses services. Is there anything that can be done to help debugging as the actual debug tool doesn't help here.

Not a complaint by the way, more a plea for hints & tips ;)
 

barx

Well-Known Member
Licensed User
Longtime User
I see, thought it would be something like that. so what would be a workaround? maybe adding lots of 'logging' to show what's going off. The brief pause doesn't give enough time to see what's happening.

Cheers Erel
 
Upvote 0

barx

Well-Known Member
Licensed User
Longtime User
Cheers, took a little longer but got sorted with the logging...
 
Upvote 0
Top