Home >Web Front-end >JS Tutorial >Introduction to JavaScript debugger_javascript skills

Introduction to JavaScript debugger_javascript skills

WBOY
WBOYOriginal
2016-05-16 18:55:401012browse

But just from a debugging perspective, the functions of these debuggers are completely sufficient. In fact, what I need more is not a JavaScript IDE, but a JavaScript reconstruction tool, which allows me to quickly reconstruct JavaScript components. It is much more efficient and safer than the original method of using UltraEdit to find/replace. In fact, the development efficiency of any language without refactoring tools cannot be compared with a language like Java (with powerful refactoring tools such as Eclipse, IDEA, etc.). Communism has not yet been realized. This is indeed a reality, but it does not mean that we must wait and there is no way to do our job well under the existing conditions. The main reason why JavaScript must be used is not at all because it is the most advanced language (compared to Python, Ruby, etc.) But from the language itself, I do not think JavaScript, a function/object language, is backward. , Python is also such a language) and has powerful development tools, but because it has the widest support (supported by all modern browsers) and cheap (because it is a Web Standard, many people know it, and the cost of learning and using it is very low). In fact, it is almost impossible to avoid JavaScript when doing web development based on HTML. From the perspective of improving user interaction experience, rather than thinking from a purely technical perspective, there is no need for us to deliberately avoid JavaScript.

The original JavaScript debugger is the script debugger that comes with Windows. In Windows 2000, open Add/Remove Programs->Add/Remove Windows Components, and then you can see a "Script Debugger". This script debugger can be used to debug JavaScript, and can also be used to debug any ActiveX-based scripting language (VBScript, ASP, etc.). Although this tool has most common debugging functions, it is very inconvenient to use.
The more advanced Visual InterDev is included in the Visual Studio 6.0 installation CD. This is a JavaScript debugging tool that everyone used to use.
Even better is the script debugger included in Office 2003. More powerful and stable than Visual InterDev. This script debugger is hidden very deep and you need to carefully find it in the installation directory.

The above is the M$ series of JS debugging tools. Visual Studio and Office 2003 both cost money. If you don’t want to spend money, another good option is Mozilla Venkman. Venkman is a JavaScript debugger developed by the Mozilla organization and has very complete functions. If you install the Mozilla package, Venkman is already included, you just need to select it during installation. If the suite is a Chinese version, the interface of Venkman after installation will also be in Chinese.
Users using Firefox need to install it separately:
http://www.hacksrus.com/~ginda/venkman/
Choose the latest version Installation, for example, directly click
http://www.hacksrus.com/~ginda/venkman/venkman-0.9.85.xpi
in Firefox Complete the installation. Of course, you can also download it and open the file directly with Firefox to complete the installation.

After installation, a "JavaScirpt Debugger" will appear in the Firefox tool menu. Click to open the Venkman debugger.
Venkman debugger related resources include:
Venkman, the new JavaScript Debugger for Netscape 7.x:
http://devedge-temp.mozilla.org/viewsource/2002 /venkman/01/index_en.html
Venkman FAQ:
http://www.hacksrus.com/~ginda/venkman/faq/venkman-faq. html
Search Venkman directly and you can also search for many related resources.

Firefox Venkman is a great pair for developing Ajax applications.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn