Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Breakpoints ignored in Safari 7

I'm having trouble debugging JavaScript in Safari 7, the breakpoints I put in are just being ignored. I know you enable/disable all break points and they are definitely enabled. It just isn't stopping code execution at all!

Anyone else experienced this? Any thoughts?

like image 222
Rich Standbrook Avatar asked Oct 24 '13 14:10

Rich Standbrook


People also ask

Does Safari have a debugger?

Safari includes Web Inspector, a powerful tool that makes it easy to modify, debug, and optimize websites for peak performance and compatibility on both platforms. And with Responsive Design Mode, you can preview your web pages in various screen sizes, orientations, and resolutions.

How do I open the debug in Safari?

If you're a web developer, the Safari Develop menu provides tools you can use to make sure your website works well with all standards-based web browsers. If you don't see the Develop menu in the menu bar, choose Safari > Preferences, click Advanced, then select “Show Develop menu in menu bar.”


1 Answers

Maybe you disable breakpoints: https://developer.apple.com/library/mac/documentation/AppleApplications/Conceptual/Safari_Developer_Guide/Debugger/Debugger.html

By clicking the breakpoint icon in the Breakpoints pane, you disable all breakpoints. The breakpoint locations are still saved, but JavaScript runs as if no breakpoints are set. Disabled breakpoints have a grayed-out appearance,

Disable breakpoints

Enable breakpoints

like image 54
falko Avatar answered Sep 28 '22 06:09

falko