GDB is a powerful UNIX program debugging tool released by the GNU Open source organization. Perhaps, you like the graphical interface, such as VC, BCB debugging IDE, but if you are in the UNIX platform to do the software, you will find that the debugging tool GDB is more than VC, BCB graphics debugger more powerful features. The so-called "inch, the ruler is short" is this truth.
In general, GDB mainly helps you complete the following four aspects of the function:
Start your program, and you can run the program as you want to customize it. Allows the program being debugged to stop at the breakpoint where you specified the adjustment. (Breakpoints can be conditional expressions) When the program is stopped, you can check what happens in your program at this time. Dynamically change the execution environment of your program. From the above, GDB and the general debugging tools are not the same, basically complete these functions, but in detail, you will find GDB this debugging tool is powerful, you may be more accustomed to the graphical debugging tools, but 8630.html "> sometimes, The debug tools on the command line have functions that the graphical tools cannot complete. Let's see it all.
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.