What are the debugging methods you employ while came across , C/C++ Programming

What are the debugging methods you employ while came across a problem?

A: Debugging with tools such as:

1.      DBG, GDB ,Forte, Visual Studio.

2.      Using tusc to trace the last system call before crash.

3.      Analyzing the Core dump.

4.      Putting Debug statements in the program source code.

 

Posted Date: 3/21/2013 7:22:51 AM | Location : United States







Related Discussions:- What are the debugging methods you employ while came across , Assignment Help, Ask Question on What are the debugging methods you employ while came across , Get Answer, Expert's Help, What are the debugging methods you employ while came across Discussions

Write discussion on What are the debugging methods you employ while came across
Your posts are moderated
Related Questions
Build a program that calculates a discount for items based on quantity bought each item is $99.99 Ask user to enter the quantity of the items Get the quantity of items from the u


Reusability  Reusability means reusing code written earlier, may be from some earlier project or from the library. Reusing old code not only saves development time, but also sa

Problem #1: plugging the memory leak. When you employ the "normal" new operator, for example Foo* p = new Foo(), the compiler generates some special code to manage the case while t

#quGiven the Array class definition in Fig. 11.10-11.11 (pp. 476-479) of the textbook, write a new overloaded operator function for the ‘%’ (modulus) operator (i.e., return an arra

Expected output of the program: 1. Consider the following programs. For each, indicate whether the program is correct. If yes, what is the expected output? If not, what is the

Write the statements which are used to connect PHP with MySQL? Statements which can be used to connect PHP with MySQL is: $conn = mysql_connect('localhost'); echo $co

The Main program is slightly more complicated and you need to think about the I/O process. First of all, for most applications you do not call the low level routines GetChar and P

Addition of array elements: #define rows 3 #define cols 3 void main() {                 int i=0,j=0,sum=0;                 int arr[rows][cols];

write a program that can accept numbers and perform all the four arithmetic operation