23

I have Safari 6.0.5 (8536.30.1) and WebKit nightly (8536.30.1, 538+) and I'm trying to debug a website in iOS 7 iPad simulator ( XCode Version 5.0 (5A1413).

I choose Develop->iPad simulator in Safari, Web Inspector starts showing me the website's resources and DOM, and I enable few breakpoints in JavaScript file of the website. Then I perform something with the site to reach my breakpoints.

The site freezes, as if it reached the breakpoint but Web Inspector doesn't show that it reached anything and doesn't show any variables. I even do not see the variables pane.

What am I doing wrong?

5
  • 4
    iOS WebKit debug proxy saved my day! stackoverflow.com/questions/11361822/…
    – Alexander
    Oct 8, 2013 at 9:14
  • My web inspector is simply crashing when trying to view the JS files in there. Nov 11, 2013 at 19:41
  • sometimes i run the location.reload() command on console, it'll be work.
    – mrchad
    Feb 15, 2016 at 21:24
  • As a web developer, you should use Firefox.
    – StackSlave
    May 16, 2016 at 4:09
  • 4
    @PHPglue you can only inspect website on iDevices from Safari. So using Firefox isn't going to help. May 17, 2016 at 11:38

1 Answer 1

2

Firstly, Update your browser and secondly open Firefox Inspector and then run your application.

Your Answer

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

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