Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 702
Alexander Avatar asked Oct 08 '13 04:10

Alexander


People also ask

How do I debug Safari in Iphone Simulator?

You'll need to go to Settings > Advanced and check the Show Debug Menu option. Then you'll see the option to open the web inspector for the Simulator right from that menu. With the Web Inspector open, you can debug inside the Simulator just like you could right in a desktop browser with DevTools.


1 Answers

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

like image 192
Syed Ali hassan Avatar answered Sep 25 '22 05:09

Syed Ali hassan