IE hata mesajı tanımlamak için nasıl

2 Cevap php

i m working on a php page where css, JS and Jquery is included. in Mozilla it show Error message on console or in firebug but in IE it display

Line:1597
Char:9
Error:Invalid Argument
Code:0
URL: blah blah blah

now how do i know this error?? in fact there is no 1597 lines in my php code

and if i extract all JS and CSS(included) then how do i calculate line no. 1597? do i extract each and every CSS and JS in the order they are included? either it should be reflect in source code

nasıl ben bu hata raporlama mesajı anlıyorsunuz?? IE göstermek istiyorum ne hata tam olarak belirlemek için herhangi bir yolu / aracı var?

2 Cevap

Bu msdn blog girdisinde bir göz atın: JScript Debugger in Internet Explorer 8:

To get to the debugger just press SHIFT+F12, or click the developer tools icon in the command bar.

edit: IE7 için sizden ayrı indirebilirsiniz microsoft bir geliştirici araç çubuğu vardır the microsoft download center:

The Microsoft Internet Explorer Developer Toolbar provides a variety of tools for quickly creating, understanding, and troubleshooting Web pages.

Ayrıca IEBlog: Scripting Debugging in Internet Explorer bir okuma var

Ben IE verilen satır ve karakter-sayısını hesaplar ve ben de bu birkaç kez ile sinirli oldum bilmiyorum.

Çoğunlukla (Firefox için) Firebug ile hata izini ve daha sonra IE aktarmak için çalışın. Bu işe yaramazsa, ben hata gizler nerede görmek için şüpheli codeblocks sil :)

(Ben bunları kullanarak değil olsa) Firebug benzer programlar "IE Developer Toolbar" ve "DebugBar" vardır. Ayrıca "Kundakçı Lite" (IE Kundakçı-fonksiyonları öykünen bir JS) yardım olabilir: http://getfirebug.com/lite