What is a dependency and what role do dependencies play in debugging??

What will be an ideal response?


Any program longer than a handful of lines includes statements that depend on the successful execution of other statements or functions. These relationships, known asdependencies, can add an extra layer of complexity to debugging. An error that seems to be caused by code in one function, for example, can actually be the result of an error in another part of your program. In addition, an error in one part of your code can stop dependent code from executing, preventing you from receiving error messages for the dependent code. After finding and fixing a bug, it's important to test related functionality that worked correctly before the bug fix. In some cases, fixing one bug exposes another, or itself creates another problem, so it's important not to assume that everything that worked before fixing a bug will continue to work after fixing it.?

Computer Science & Information Technology

You might also like to view...

There are two main, significant problems with HTML that led to the development of XHTML. Explain both of these.

What will be an ideal response?

Computer Science & Information Technology

The New Slide arrow is located on the ________ tab

A) File B) Insert C) Design D) Home

Computer Science & Information Technology

Virtual PC is an example of a Type 2 hypervisor

Indicate whether the statement is true or false

Computer Science & Information Technology

The ____ attribute indicates whether to delete a file after closing it.

A. delete B. file close C. disposal mode D. file disposition

Computer Science & Information Technology