Pergunta

I develop an app for Windows Phone 8 and use Task Agent. I need to debug code that used in Task Agent. I try to join the process in menu Debug - Join the process, but when I choose the right qualifier, the process list is empty. What am I doing wrong?

Foi útil?

Solução

You cannot debug Background task agents the same way you debug normal windows phone projects. Here are some techniques used.

http://developer.nokia.com/community/wiki/Background_Agents_Debugging_Tips_on_Windows_Phone

I have used the ShellToast successfully to debug my agents. IMPORTANT: Remember to remove/comment all those code you add before deploying, or use #IFDEF statements.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top