1

I have built a website for mobile webkit browsers, there is an interval update to refresh data. But it turns out that the pooling refresh will stop at some time after run for a while (some minutes or hours, different by each time).

I thought there may be something error occurred in my refresh data functions, but it works well in my laptop browser. I also tried to listen window.onerror event, but webkit browser seems do not support that event. What else can I do?

And I am also doubting is there any problem with setTimeout and setInterval functions in mobile webkit browser?

1 Answer 1

2

Did you try to enable Debug Console on your iphone? Settings > Safari > Developer

4
  • actually i only have an android phone on hand.
    – virsir
    Feb 26, 2010 at 10:40
  • how about the iPhone simulator? You can do the same on that.
    – willi
    Feb 26, 2010 at 11:45
  • @willi: There is no option you mentioned in iOS 6.1. Do you know where I can find the option now?
    – testing
    Feb 20, 2013 at 11:53
  • You have to enable your device for development in Xcode Organizer.
    – willi
    Mar 25, 2013 at 13:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.