Differences between vs generation, cleaning up projects, debugging, starting execution (not debugging), debug, and release

Source: Internet
Author: User
1. Generate and regenerate

During "Generation", files that have not been changed will not be regenerated only after they have been changed;

"Regenerate" means that all files are regenerated.

Take CPP as an example when you only modify some. files such as CPP can be generated to save the time for compiling those files that have not been modified; however, some files have been modified. it is best to re-generate files such as H, because some files may contain. the hfile also needs to be re-compiled.

Select generate or generate a solution. Only the project files and components modified since the last generation will be compiled.

Note:
If the solution contains multiple projects, the generated command is changed to the generated solution.

Select "regenerate solution". The solution is cleared and all project files and components are generated.


Ii. Clean up projects and Solutions


The cleanup solution deletes all intermediate and output files. After only the project files and component files are left, a new instance of intermediate and output files can be generated from these files.

Clear the project. The ilk, PDB, and exe files generated by the project are cleared.

Reference http://jingyan.baidu.com/article/19020a0afc3629529d284218.html for the role of files in various formats


3. debug and start execution (not debugging)

Start debugging. That is, the solution is implemented again.

Start execution (not debugging): directly execute the command and only obtain the final result.

The difference between the two methods is that the former needs to load debugging symbols, allow Interruption During running, perform one-step execution, and monitor certain variables, it even changes its code and recalculates it. The latter only compiles and runs and cannot debug the program. It is only suitable for viewing the running effect.

 

Iv. debug and release

Debug is usually called a debug version. It contains debugging information without any optimization, so that programmers can debug programs easily.

Release is called a release version. It is often optimized to optimize the code size and running speed, so that users can use it well.
The real difference between debug and release lies in a set of compilation options.

For specific differences, see http://www.cnblogs.com/JemBai/archive/2009/01/13/1374805.html

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.