You debug it the same way as you would with an activity. Set breakpoint, start the debugger on the process and do something to which causes the code with breakpoints to run. E.g. put the breakpoint on the first line after onUpdate() and add your widget to the homescreen.
|