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?
1 Answer
Firstly, Update your browser and secondly open Firefox Inspector and then run your application.
location.reload()
command on console, it'll be work.