What is the Debug folder?

Source: Internet
Author: User

Debug is a hidden object that is used to perform and debug related work. is the System Debug folder, which is used to store the log files of the debug module during the system running, so that the administrator can discover the problems of the computer based on these log files. Where the "UserMode" folder contains the current user's debug log files

A bit similar to the console in C #.

It is convenient to use debug when debugging a program.

Like Debug.Print A.
The value of a is displayed in the Immediate window below the VB interface, so that you do not have to modify the program's interface to display a or interrupt the program to view a.

Another example is when you need to a>5 somewhere, you can add a sentence Debug.Assert (a>5)
The execution of the program is paused when a<=5, and then you can see why a is not satisfied with the a>5 condition to find a code error.

An important advantage of debug is that when the program is compiled into a finished EXE, these debug statements are removed, meaning that adding the debug statement to the program does not affect the efficiency and interface of the final product. Debug is only available for debugging personnel.

Debug can be deleted, debug is recorded in your error message, the download code is automatically generated.

What is the Debug folder?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.