1 / 16

Debugging

Debugging. By: Issam Benstitou Khouloud Mrabet Samir NAQOS supervised by Dr Kettani D. Outline. Introduction Debugging: Definition What causes debugging ? A formal approche to debugging. Debugging in the life cycle. The debugging process. Debugging Approaches Conclusion.

abdalla
Télécharger la présentation

Debugging

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Debugging By: Issam Benstitou Khouloud Mrabet Samir NAQOS supervised by Dr Kettani D.

  2. Outline • Introduction • Debugging: Definition • What causes debugging ? • A formal approche to debugging. • Debugging in the life cycle. • The debugging process. • Debugging Approaches • Conclusion.

  3. Introduction • Team presentation • Context presentation

  4. Debugging • Definition: • Pressman • Jazayri et al

  5. What causes debugging ? • Software Faults: • Is an erroneous portion of a software system which may cause failures to occurs if it is run in a particular state, or with particular inputs. • Software Failures • is an execution event where the software behaves in an unexpected or undesirable way.

  6. What causes debugging ? (cont.) Defect (bug): Each occurrence of the program design or the program code that fails to meet a specification.

  7. Debugging: A formal Approache • Debugging, testing and verification • Formal Definition of: • Debugging • Testing • verification

  8. When does it occurs in the life Cycle

  9. Debugging Process Two possible outcomes: -The cause will be found -The cause will not be found

  10. The process of Debugging

  11. Characteristics of Bugs that provide some hints • - The symptom and the cause may be • Geographicall isolated • The symptom may disappear when another • Error is corrected • -The symptom may be caused by nonerrors

  12. Characteristics of Bugs that provide some hints -It may be caused by human errors -The symptom may be a result of timing problemsrather than processing problems. -     -It may be difficult to accuratelyreproduce input conditions.

  13. Debugging Approches • Bradley description: … The basis of debugging is to locate the problem’s source by binary partitioning, through working hypotheses that predict new values to be examined.

  14. DebuggingApproaches • The Brute Force • Bracktracking • Cause Elimination

  15. Debugging Approaches • Is the cause of the bug reproduced in another part of the program? • What next bug might be reproduced by the fix I am about to make? • What could we have done to prevent this bug in the first place?

  16. Conclusion • Shneiderman states: “…Debugging is one of the more frustrating parts of programming. It has elements of problem solving or brain teasers, coupled with the annoying recognition that you have made a mistake…”

More Related