Hello
I have this line to get data from my web server on localhost:
WinJS.Promise.timeout(5000, WinJS.xhr({ url: url }).then(xhrParseJson, xhrError));
I can see in Fiddler that the server returns the appropriate json. However, if I set a breakpoint in the xhrParseJson function and another in the xhrError function, neither is hit. Execution just jumps straight over those two functions.
I have pretty much exactly the same code in an earlier part of my app and that works fine.
Any ideas?
Thanks,
Mick