How to debug a service? (in Eclipse)

Put your problem here if it does not fit any of the other categories.

How to debug a service? (in Eclipse)

Postby szimek » Sun Jan 06, 2008 10:37 pm

Hi,

I've got an activity and a service and a strange problem - despite the fact that the code of the service is filled with breakpoints, the debugger doesn't actually break on any of them - i.e. in onCreate, onStart and so on. However, it works fine in the activity. The app runs correctly, so I'm sure that these methods are really executed.

I'm trying to call one of the service methods every n seconds using a handler, but it doesn't really work for me, so it would be great if I could debug my code :)
szimek
Freshman
Freshman
 
Posts: 6
Joined: Wed Dec 19, 2007 3:38 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: MSNbot Media and 13 guests