1

i want track error in my javascript code.Some times javascript automatically executes and hangs my browser i want to track which part of javascript is executing automatically and hangs ....

Anudeep GI
  • 931
  • 3
  • 14
  • 45

1 Answers1

0

For tracking errors using console.log

Or use an alert as your first line of code with the variable's inside it and this should help,

I would recommend console.log as alerts become annoying, Console log also makes it easier to view variables, objects and arrays. I personally use chrome you should try it :)

This might also help Console log question

Community
  • 1
  • 1
Lemex
  • 3,772
  • 14
  • 53
  • 87