Edward
Edward

Reputation: 7424

Solving a navigation issue in WP7 when app returns to the foreground?

Unfortunately I'm more than half way done with the app and I just realized an odd bug when navigating forward after the app returns to the foreground from tombstoning.

Basically the first time the app runs there are no issues with the navigation. When I exit the app and return to it, everything deserializes and is loaded into the page no issues. Then when I hit the back button and go to previous pages everything works like it should.

Now as soon as I navigate to a new page (not in the backstack) the screen goes black. If you hit the back button the app closes abdruptly. I put a break point in the constructor of the page I'm navigating to, to see if its working, and its not even being created. For some reason my navigation doesn't work anymore. Any ideas?

NOTE: I'm using the WP7 7.1 SDK and I'm also using Telerik Controls for WP7.

Upvotes: 0

Views: 241

Answers (1)

Richard Szalay
Richard Szalay

Reputation: 84804

What you are describing sounds consistant with a forced close. According to this page, navigating has a big impact on memory usage so it sounds like you're clocking over 90mb, which is grounds for automatic termination.

You can monitor memory using the Gary McGlennon's debug memory counter.

Upvotes: 1

Related Questions