Reputation: 648
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?
Upvotes: 18
Views: 8896
Reputation: 1
Try editing the breakpoint, and adding e.preventDefault()
as code to be evaluated when the breakpoint matches.
Upvotes: 0
Reputation: 1457
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,
Upvotes: 21