Tuesday, 11 November 2014

Debugging C Program

Debugging is used to traverse through the program statements one by one. We can watch the variables in the program and find out the reason why code is not working as expected.
Below image shows the Microsoft visual C++ IDE.

In different IDE, you will see different tools/keystrokes to add/remove breakpoint, step into the function, step out of the function.
You can watch the variables at runtime as well when you are in debug mode as shown in below image.

Different IDE provide different mechanism of debugging c program. In Eclipse IDE, you can also debug the programs but the GUI will be different from other IDEs like windows C++ IDE.

Sponsored Links

Popular Posts



Google+ Followers

Google+ Badge