answersLogoWhite

0


Best Answer
  • While correcting or fixing a bug always make it a habit to make comments containing description about date, purpose of fixing, username who fixed the bug and so on. This is very essential because this will be helpful if the person who made the bug fixing later on want to refer the bug for some reason for fixing some other fix or it would be helpful for other users since it act as a documentation which provides an easy reference.

    .

  • Make it a practice that while debugging to make a change and test it immediately. This is because when a change is made to the existing code it may pave way for some more bugs. After ensuring that the corresponding fix works fine by testing then go for next change. In other words it is essential to be systematic in approach while debugging.

    .

  • It is very essential to remove the temporary code added just for debugging purposes like temporary print statement to check the value of variables and so on.

    .

  • When a fault is found in debugging process after correcting and fixing it always have a broader vision and think whether the same fault or similar situations can occur in other parts of the program. This vision will help in reducing the time in debugging process.

    .

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Name the important approaches used in program debugging?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the technical name for debugging?

what is the technical name for debugging?


What is the name of drwatson log file used by windows 98?

drwatson32.log was the name of the drwatson log file used by Windows 98. This was a popular debugging program.


Do compilers help with debugging?

Well, mostly compilers help with debugging indirectly. Obviously, it is impossible to debug without a compiler, since debugging generally involves making changes to the program being debugged, recompiling and running it. Also, compilers help with debugging, by inserting debug information into the output object code - debuggers use this in order to display run-time information about the state of the program. This allows the developer to see the value of variables during the program run. The compiler puts the name of the variable into the code, since otherwise it would be stripped out and it would just be a memory location.


What is the name of dr Watson log file used by windows 98?

The name of the dr Watson log file used by windows 97 was Sherlock. Dr. Watson was a debugging program for Windows 98.


What is the name given to philosophers who construct their ethical approaches with mixed approaches?

What is the name given to philosophers who construct their ethical approaches with mixed approaches?


What is the process of finding and correcting errors in a worksheet in excel?

Debugging or auditing.ProofreadingEditing


What is the name of error check technique that uses c language compiler?

Debugging


What are the three kinds of errors that can occur in C plus plus program writing?

Logic - Doesn't show up in debugging, but often gives incorrect answers. It is where you basically forget something to do, or mistype a formula or anything similar. For example, if you ask for first name and last name, but then input them backwards. Compilation - Typing errors, such as typing "xout" instead of "cout" and will show up in debugging, and will prevent the program from running. Run-Time - Something that occurs while running. For example, if you were finding the acceleration of an object (Force / Mass) and entered "0" for the mass, it would quit for dividing by 0. Source(s): C++ Programming Class


Using a Brand Name Program Rather than a Generic Program?

These days, programs are not cheap and it's important that you make the right selection when choosing between a brand name and generic name. With programs, you can sometimes get away with taking the generic bran due to their similar functionality. However, the generic program might cause problems in the future due to not working seamlessly with your operating system or other programs. It may not even have the same features as the brand name program.


What is the name of the littlun that first approaches the naval officer in Chapter 12 Cry of the Hunters?

Percival Wemys Madison is the name of the littlun who first approaches the naval officer in Chapter 12, Cry of the Hunters. He is overcome with fear and only manages to respond with his name, class, and school when asked for it.


Can you trade in your car under the cash for clunker program if it is insured under your sons name?

I would think whose name is on the registration is the important part. If you own it you can sell it. If he owns it you can't.


What are the social responsibilities of women?

to sex any guy that approaches especially if his name is Michael speziale