About software debugging __ software debugging

Source: Internet
Author: User
Tags log log


Software debugging when a great knowledge, to have a very good foundation, a wide range of knowledgeable, very good tools, very good many very comprehensive debugging methods, but also very patient ...


If the program is in the process of running memory leaks, this is the problem to be dealt with;


1: General except print debugging information, log log, breakpoint debugging, and view stack;

2: Through the debug run, and finally close the program, in output to look for memory leakage address;

3: Shielding all possible leakage of the place, until the operation did not leak, and then gradually release the shielding code, and gradually debug;


The above debugging method is the most commonly used software debugging methods, if it is a small problem, can generally be solved, if encountered more difficult to capture the memory leak, it is necessary to rely on good debugging tools and methods;


two books on software debugging are recommended here:

"Software Debugging", Zhang Banque, electronic industry publishing house;

"Windows Advanced Debugging Chinese Version" (US) Mario Hewardt, Daniel Pravat, Nie Shejun, etc.


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.