Solved

loop debug in javascript and safari

Posted on 2014-04-02
1
289 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 38

Accepted Solution

by:
Tom Beck earned 500 total points
ID: 39973071
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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

687 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