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

Slides:



Advertisements
Similar presentations
Differentiating between directional and non-directional hypotheses.
Advertisements

Coding and Debugging. Requirements and Specification Recall the four steps of problem solving: Orient, Plan, Execute, Test Before you start the implementation.
Interactive Media and Game Development Debugging.
.NET MSc in Distributed Systems David Grey Rob Miles University of Hull, UK.
© 2010 John Dalbey Ch 9: Reviews Humphrey proposes that personal reviews will result in improved quality. Now that we have a defined process and some real.
Debugging CPSC 315 – Programming Studio Fall 2008.
Hypothesis Testing After 2 hours of frustration trying to fill out an IRS form, you are skeptical about the IRS claim that the form takes 15 minutes on.
true error less Any learner that outputs a hypothesis consistent with all training examples.
Coding concerns, are they real? Fadi Wedyan, Dalal Alrmuny May 10 th, 2007.
1 Gentle Introduction to Programming Tirgul 1: Shell and Scala “hands on” in the lab.
Detectives in the Classroom - Investigation 1-1: Why Are These Students Getting Sick? Why Are These Students Getting Sick?
16/27/2015 3:38 AM6/27/2015 3:38 AM6/27/2015 3:38 AMTesting and Debugging Testing The process of verifying the software performs to the specifications.
2/9/2007EECS150 Lab Lecture #41 Debugging EECS150 Spring2007 – Lab Lecture #4 Laura Pelton Greg Gibeling.
Forward Error CORRECTION A little magic. Hamming in perspective Typically errors are corrected with retransmission. Hamming lets the receiver determine.
Business Statistics - QBM117 Testing hypotheses about a population mean.
Significance Tests for Proportions Presentation 9.2.
Python Mini-Course University of Oklahoma Department of Psychology Day 1 – Lesson 2 Fundamentals of Programming Languages 4/5/09 Python Mini-Course: Day.
STATISTICS HYPOTHESES TEST (I) Professor Ke-Sheng Cheng Department of Bioenvironmental Systems Engineering National Taiwan University.
INTRODUCTION TO C PROGRAMMING LANGUAGE Computer Programming Asst. Prof. Dr. Choopan Rattanapoka and Asst. Prof. Dr. Suphot Chunwiphat.
VISUAL C++ PROGRAMMING: CONCEPTS AND PROJECTS Chapter 1B Introduction (Tutorial)
Learning Objectives In this chapter you will learn about the t-test and its distribution t-test for related samples t-test for independent samples hypothesis.
Software Life Cycle Requirements and problem analysis. –What exactly is this system supposed to do? Design –How will the system solve the problem? Coding.
AP STATISTICS LESSON 10 – 4 ( DAY 1 ) INFERENCE AS DECISION.
CS 261 – Data Structures Preconditions, Postconditions & Assert.
HTML bug … intended pageactual page! target.html  error1.html.
Bayesian Networks for Cyber Crimes. Bayes’ Theorem For an hypothesis H supported by evidence E: Pr(H|E) = Pr(E|H).Pr(H)/Pr(E) where – Pr(H|E) is the posterior.
CHAPTER 9 Testing a Claim
1 One Last Book, One Last Topic Code reviews / software inspections.
Debugging of # P. Hristov 04/03/2013. Introduction Difficult problem – The behavior is “random” and depends on the “history” – The debugger doesn’t.
Mystery stories have their very own special vocabulary. It is necessary to understand the vocabulary to fully appreciate a mystery so...
Introduction to Testing CSIS 1595: Fundamentals of Programming and Problem Solving 1.
AP Statistics Chapter 21 Notes
Error Handling Tonga Institute of Higher Education.
CompSci 100E 18.1 Testing and Debugging Robert A Wagner.
Building usable software through early testing. Objective Show the value of testing from the beginning of the development cycle. Consensus in the industry.
Scientific Inquiry Scientific Inquiry The Scientific Method Analyzing observations to solve problems.
Chapter 7 What’s Wrong with It? (Syntax and Logic Errors) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Chapter 9: Hypothesis Tests for One Population Mean 9.2 Terms, Errors, and Hypotheses.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 9 Testing a Claim 9.1 Significance Tests:
PROGRAMMING. Computer Programs  A series of instructions to the computer  pre-written/packaged/off-the-shelf, or  custom made  There are 6 steps to.
Lec. 19 – Hypothesis Testing: The Null and Types of Error.
Debugging M-Files Steve Gu Feb 08, Outline What’s Debugging? Types of Errors Finding Errors Debugging Example Using Debugging Features.
JavaScript Errors and Debugging Web Design Sec 6-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
Debugging and Testing Hussein Suleman March 2007 UCT Department of Computer Science Computer Science 1015F.
How to Fix Bitdefender Total Security Error -1022? Support Number
Warm Up #’s 12, 14, and 16 on p. 552 Then answer the following question; In a jury trial, what two errors could a jury make?
Mystery Vocabulary Alibi: A story by an accused person of not having been at the scene of the crime.   Clue: Something that appears to give information.
STATISTICS HYPOTHESES TEST (I)
Testing More In CS430.
CHAPTER 9 Testing a Claim
Verification and Validation Overview
Call on How Can Be Fix to Norton Product Error 8504, 104?
Call Toll-Free: Know How Repair Your Gaming PC Your can get all the help at our doorstep, give us a call on our toll-free number. We.
P-value Approach for Test Conclusion
CSCE 315 – Programming Studio, Fall 2017 Tanzir Ahmed
Some simple steps to fix Dell printer error code
ms vısual studıo 2008-Introductıon TUTORIAL
Tonga Institute of Higher Education
Discussion of Urban Sim Dev Process
SCIENCE ON FRIDAYS.
Basic Debugging (compilation)
More About Tests Notes from
How to fix Juno Error code 49? Dial: +1(844)
Homework: pg. 727 & ) A. Ho: p=0.75, Ha:p>0.75
For Tutors Introduce yourself.
Scratch Programming Lesson 7 Debugging.
Crime Scene Investigation
WELCOME How to Fix Technical Bugs Faced By AVG Users? CALL NOW
Types of Errors And Error Analysis.
STATISTICS HYPOTHESES TEST (I)
Presentation transcript:

How to Debug

Debugging Detectives Debugging Desperados I GIVE UP! MyClass.java

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