Some Troubleshooting ideas in software development

Source: Internet
Author: User

Some Troubleshooting ideas in software development

Sun Wentao

When I was working a few days ago, I always encountered compilation errors because it was cross-platform and not very familiar with compilers and switches, so I didn't know how to arrange some errors.

 

For a long period of time in the company, most of the good jobs have to be troubleshooting. In general, software development follows the rule of "iterative development" and incremental development.

Each phrase must ensure that an "Atomic function" is correct. The Atomic function can be a small feature. The implementation of a small function must ensure that the compilation is successful and the build is correct.

 

The correct debugging process is that the range of troubleshooting errors is reduced from large to small, and the range is dropped from the surface to the line, from the line to the point.

(1) Compile a single file, lock the error in a file, comment out the error file, and open the file gradually, approaching the real error source step by step;

(2) set the breakpoint reasonably, and lock the error from the large file level to the row level, and then to the last few rows. Narrow down the scope through a variety of debugging tools.

 

Todo...

 

 

Related Article

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.