What are the different approaches to debugging your programs? Which approach do you normally follow and why?

What will be an ideal response?


Two of the most common techniques to debug a program are to either do this manually by tracing the execution of the code with break and print statements or by using a software such as a debugger. I use a debugger to trace my code. It is faster and more efficient and less prone to errors that could result due to manual debugging.

Computer Science & Information Technology

You might also like to view...

Software engineering provides a methodical way to build computer programs.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Choose the correct pronoun in the following sentence. The supervisor sets the schedule for __________ workers.?

A. ?his B. ?his or her

Computer Science & Information Technology

Stores up to 24 cut or copied selections for use later on in your computing session.

What will be an ideal response?

Computer Science & Information Technology

Optical media is:

a. more likely to suffer from noise than electrical media b. has about the same likelihood of suffering from noise as electrical media c. has about the same likelihood of suffering from noise as coaxial cable d. less likely to suffer from noise than electrical media e. more prone to noise than twisted pair media

Computer Science & Information Technology