78f: WP8 IAP crashes during startup

Monkey Forums/Monkey Bug Reports/78f: WP8 IAP crashes during startup

Xaron(Posted 2014) [#1]
Dear Mark,

using your test banana iaptest I get an exception in the emulator:



Is that even supposed to work in the emulator? It seems that opening the store already is the problem.


marksibly(Posted 2014) [#2]
Aha yes, that brings back unpleasant memories!

I think this is just a case of MSVC trying to help out a bit too much, ie: it's showing you where the exception is being thrown from, even though the exception is a 'normal' part of program flow. If you click 'continue', the app should continue, store should fail to open etc. You can also uncheck 'break when this exception type is thrown' to prevent this happening in future, maybe.

But AFAICT this is the only way to detect certain types of failure in the store stuff so I think we're kind of stuck with it. Perhaps the default project can be configured to ignore certain types of exceptions? Dunno, might look into it later.