Solved

loop debug in javascript and safari

Posted on 2014-04-02
1
283 Views
Last Modified: 2014-04-05
Hi,

Is there a way to inspect a javascript loop using safari, i am getting an error, but i don't know where in the loop is the error! Any idea?
0
Comment
Question by:joyacv2
1 Comment
 
LVL 38

Accepted Solution

by:
Tom Beck earned 500 total points
Comment Utility
Sure, Safari has Developer tools. Click the Web Inspector under Develop.
Web Inspector1. Click the Debugger. Navigate to the Javascript.
2. Click Pause (Pause becomes Play).
3. Use the Step Out, Step Over, Step Into buttons to navigate through the Javascript.
4. Current position in the code.
5. Variable values show up on the right.
6. Set Breakpoints and press the Play button to advance the cursor to that point.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now