Presentation is loading. Please wait.

Presentation is loading. Please wait.

How to Debug Debugging Detectives Debugging Desperados I GIVE UP! MyClass.java.

Similar presentations


Presentation on theme: "How to Debug Debugging Detectives Debugging Desperados I GIVE UP! MyClass.java."— Presentation transcript:

1

2 How to Debug

3 Debugging Detectives Debugging Desperados I GIVE UP! MyClass.java

4 How to be a Debugging Detective 1.identify the crime how does the output differ from what is expected? 2.based on the evidence, name the likely suspects determine which code is probably responsible by looking at the output or the error message(s) 3.form your hypotheses for how the crime was committed what are the possible bugs in the code? 4.for each bug suggest a possible fix and try it if it works, great if it doesn’t then remove your fix and form a new hypothesis

5


Download ppt "How to Debug Debugging Detectives Debugging Desperados I GIVE UP! MyClass.java."

Similar presentations


Ads by Google