locked
App terminating unexpectedly RRS feed

  • Question

  • The phone app which I developed, is keep on terminating unexpectedly...

    what could be the reason?

    Please help me in this...

    Thanks :)

    Tuesday, January 21, 2014 12:59 PM

All replies

  • Do you log errors in the app error handler?

    http://pauliom.wordpress.com

    Tuesday, January 21, 2014 2:18 PM
  • Sorry I didn't get the question?

    Thanks :)

    Tuesday, January 21, 2014 2:52 PM
  • There are a lot of reasons your app could be failing...We would need more details about the specific failure case in order to provide any useful feedback.

    For example, if you are you able to reproduce the error with the debugger attached then you could post the call stack and exception information.  (see: Debugging Apps for Windows Phone)

    If you cannot reproduce the problem with the debugger attached then you would need to add some run-time logging to your app in order to get more details.  (i.e. catch errors in code and write the error information to a file for later retrieval.)


    -Eric.

    Tuesday, January 21, 2014 8:44 PM
  • Thanks for the reply Eric...

    What happens here is, it does not show any error in VS or either there ain't any problem with the debugger too..

    Whenever I run the app, after some time it'll terminate from the app and goes to the windows phone home screen...

    Please help me in this...

    Thanks again :)

    Wednesday, January 22, 2014 3:14 AM
  • Hi,

    Recently in my app also having same problem,after that i found app has been crash when webclient/httpclient  request having timeout when network is slow even i put my code in try block, am i right with this guess?and till now  i don't know the proper answer.

    Tuesday, January 28, 2014 6:42 AM
  • Hi,

    Recently in my app also having same problem,after that i found app has been crash when webclient/httpclient  request having timeout when network is slow even i put my code in try block, am i right with this guess?and till now  i don't know the proper answer.

    The try/catch block needs to included in the response handler since that is where the timeout exception will be passed.  If you only put a try/catch in the request start block, that section will only catch an exception on the initial call. 
    Tuesday, January 28, 2014 7:05 AM