Safari Web Inspector doesn’t debug JavaScript in iOS 7 Simulator

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?

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

The answers/resolutions are collected from stackoverflow, are licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0 .
Read More:   Using &&'s short-circuiting as an if statement?

Similar Posts