Copyright © tutorialspoint.com
A debugger is a program that runs other programs, allowing the user to exercise control over these programs, and to examine variables when problems arise. GNU Debugger which is called gdb is the most popular debugger for UNIX systems to debug C and C++ Programs. GNU Debugger helps you in finding out followings:
How GDB Debugs?GDB allows you to do things like run the program up to a certain point then stop and print out the values of certain variables at that point, or step through the program one line at a time and print out the values of each variable after executing each line. GDB uses a simple command line interface. Note the Followings:
|
Copyright © tutorialspoint.com