What I know about software debugging (not finished)

Source: Internet
Author: User
Tags error code
Introduction to Commissioning

The software is tested and debugged. Existing tests, found errors, and then debug, find bug corrections.
There are a variety of debugging options, so I'm ready to introduce all the debugging methods I've been exposed to. the various methods of debugging gdb debugging at 1.linux 2.vs2012 under the test

Debugging tips (Check bugs)
1. Print error message, get the last error (can be added after the indeterminate function)
such as: OPENPROCCSE ();
Int e= Getlasterrorr ();
Cout << E;
Tool-error lookup-Input Error code
2.Vs additional debugging.
In the place where you want to debug, sleep, next breakpoint. Then run (run, not debug)
And then
Debug-attatch to process.
3. Single-Step debugging, monitoring data

-Not to be continued

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.