Keith Myers
Keith Myers

Reputation: 1369

XNA Phone 7: game locks up, no exception, but still 'running'

This is a weird one. The game does not exit, does not throw an exception as far as I can tell, but totally locks up (perhaps freezes is a better word). If there's a way to trouble shoot this in VS I apparently don't know what it is.

I'm looking far a general strategy: is there some tool in VS2010 where I can monitor this? Get some kind of output? Or perhaps a strategic spot to place a try/catch in the phone 7 game code?

I'm pretty much stuck, so any help would be much appreciated.

Upvotes: 0

Views: 165

Answers (2)

Matt Lacey
Matt Lacey

Reputation: 65564

Upgrade to the beta of the Mango tools and then run the app through the (new, built in) profiler.

If you forcibly terminate the app once frozen you should be able to look at the profiler data to see what happens when it "locks up".

Upvotes: 1

dkackman
dkackman

Reputation: 15559

When you have the debugger attached on the emulator or device and the lock up happens hit the pause button and see if there is a call stack.

Upvotes: 2

Related Questions