2

I'm finishing up my website. Noticed I have some scripting issues in IE7 and IE8. Using IETester (any better alternative btw?) IE9's debug tools I can test my website for different IE versions.

Updated Example:

enter image description here

I use JQuery and some 3th party htc files for IE css hacks. "Line 87" is just a html line so that's not where the error occurs.

Pieter
  • 1,751
  • 3
  • 30
  • 65

1 Answers1

4

The IE Developer Tools (built into IE8+) has a JS debugger that will break on errors.

Hit F12 to open it, select the Script tab, then click the Start Debugging button.

Neysor
  • 3,893
  • 11
  • 34
  • 66
BNL
  • 7,085
  • 4
  • 27
  • 32
  • I was just figuring that out. Still the line numbers don't make any sense + I get "Source code is not available for this location" when I start debugging. – Pieter Apr 04 '12 at 13:44
  • I took a new screenshot to indicate the issue. This time I pasted the entire jquery JS file in my html file. – Pieter Apr 04 '12 at 14:12
  • If you look at the 'Call Stack' tab does it give you any clue were the error comes from? – BNL Apr 04 '12 at 14:19
  • Ok the Call Stack did help me. Problem was caused by `behavior: url(border-radius.htc);` I am now using the much better htc file from http://css3pie.com/ – Pieter Apr 04 '12 at 14:43