The Information School of the University of Washington 13-Oct-2004cse100-07-debug1 Debugging and Troubleshooting INFO/CSE 100, Spring 2005 Fluency in Information.

Slides:



Advertisements
Similar presentations
(nothing to see here). First thing you need to learn is that sysadmin is about people, not technology If youre a sysadmin so you dont have to deal with.
Advertisements

TEST-TAKING STRATEGIES FOR THE OHIO ACHIEVEMENT READING ASSESSMENT
Words and Actions Can Hurt
Customer Service.  Goal: To improve/resolve the issue at hand* *Not necessarily to “fix” the person What is the Goal of Customer Service?
Computer /nm./: a device designed to speed and automate errors Hardware /nm./: the part of the computer that you can kick — From the Jargon File The Anatomy.
S.T.A.I.R.. General problem solving strategy that can be applied to a range problems.
Chapter 7: Introduction to Debugging TECH Prof. Jeff Cheng.
Announcements Wednesday's test will be postponed until Thursday – July 7 th, See me if this won’t work for you. Project 1 will be due Monday – July.
What you don’t know CAN hurt you!
Interactive Media and Game Development Debugging.
The Information School of the University of Washington Oct 9fit debug1 Debugging and Troubleshooting INFO/CSE 100, Fall 2006 Fluency in Information.
Difficult Conversations. A difficult conversation is - anything we don’t want to talk about Usually we worry what will happen if we do talk about it If.
Motivation and Goal Setting: Paving your way to success
Lecture 2 Page 1 CS 236, Spring 2008 Security Principles and Policies CS 236 On-Line MS Program Networks and Systems Security Peter Reiher Spring, 2008.
Debugging Introduction to Computing Science and Programming I.
IST346: Troubleshooting Problems. Today’s Agenda Debugging Fixing Things Once  Understand the problem you’re trying to fix  Finding the root cause 
Debugging CPSC 315 – Programming Studio Fall 2008.
Blog Feedback for Kelly Hicks By: Jaclyn Jamison CSR 309 April 2, 2007 Kelly HicksJaclyn Jamison.
1 Psych 5500/6500 The t Test for a Single Group Mean (Part 5): Outliers Fall, 2008.
Midterm Logistics Where? 2050 VLSB When? Monday, 4:10 to 5:40 What to do? –“Review problems” from Thursday/Friday in UCWise. –Two practice exams and solutions.
Interactive Media and Game Development Debugging.
Chapter 7 To Err Is Human: An Introduction to Debugging.
2/9/2007EECS150 Lab Lecture #41 Debugging EECS150 Spring2007 – Lab Lecture #4 Laura Pelton Greg Gibeling.
Debugging CMSC 201. Announcements Hw2, Hw3 grades returned if something doesn’t seem right, ask Midterm next Thurs (Oct 23) we’ll review on Tues no hw.
A Social Story for Students
Idioms, Adages, and Proverbs 5 th Grade- ELA Common Core Aligned.
SAT Prep- Reading Comprehension Strategies- Short Passages
Chapter 7 To Err Is Human: An Introduction to Debugging.
Learning Objectives Explain how ordinary precision differs from computing precision Describe the six-step strategy for debugging Explain the purpose of.
CHAPTER 8 SOLVING PROBLEMS.
ICAPRG301A Week 4Buggy Programming ICAPRG301A Apply introductory programming techniques Program Bugs US Navy Admiral Grace Hopper is often credited with.
Debugging & Troubleshooting “To err is human, but it takes a computer to really foul things up” © 2004 Lawrence Snyder.
A.N.T.’sA.N.T.’s Automatic negative thoughts. What Do You See?
METHOD TEST PREP EDUCATIONAL SERIES The Five Most Common Student Mistakes on the SAT and ACT Evan Wessler Vice President of Education
Moving Around in Scratch The Basics… -You do want to have Scratch open as you will be creating a program. -Follow the instructions and if you have questions.
In this presentation we will focus on some simple tips and habits that will keep you from pulling your hair out Go from this To this.
Debugging and Interpreting Exceptions UW CSE 190p Summer 2012.
Definition: The process of ending a conflict by cooperating and problem solving.
Troubleshooting. Troubleshooting Steps 4 Gather Information by Using Good Communication Skills 4 Narrow Down the Scope of the Problem 4 Find a Solution.
IT Essentials: PC Hardware and Software v4.0. Chapter 4 Objectives 4.1 Explain the purpose of preventive maintenance 4.2 Identify the steps of the troubleshooting.
Chapter 6 An Introduction to Debugging. Learning Objectives Explain how ordinary precision differs from computing precision Describe the six-step strategy.
Welcome to Module 5: Lead Organizational Change Strategic HR Business Partner Bootcamp © 2013 ACT Strategic - All Rights Reserved. Lead Organizational.
Created by, Tom Rebold, MPC FLUENCY WITH INFORMATION TECNOLOGY Skills, Concepts, and Capabilities.
 A quadratic inequality is an inequality in the form ax 2 +bx+c >,
BMTRY 789 Lecture 11: Debugging Readings – Chapter 10 (3 rd Ed) from “The Little SAS Book” Lab Problems – None Homework Due – None Final Project Presentations.
Course ILT Troubleshooting Unit objectives Describe methods to help prioritize network problems List basic troubleshooting steps to be followed when working.
Chapters 5 & 6 Thought distortions & Interventions.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 14 From Randomness to Probability.
THE BALANCE POINT By Julia D’Innocenzo.
By Anthony W. Hill & Course Technology1 Troubleshooting Computer Problems.
The single most important skill for a computer programmer is problem solving Problem solving means the ability to formulate problems, think creatively.
Solving Equations M7A2b Use the addition and multiplication properties of equality to solve one- and two-step linear equations.
RESPONDING TO RULES HOW TO: MAKE COMPLAINTS TAKE “NO” FOR AN ANSWER DISAGREE APPROPRIATELY CHANGE RULES.
© 2015 albert-learning.com How to talk to your boss How to talk to your boss!!
Unpacking each and every strategy! THE MATHEMATICIAN’S TOOLBOX.
Chapter 3: Determining the Topic. © 2008 McGraw-Hill Higher EducationChapter 3: Determining the Topic2 Definition of Topic The “something” an author chooses.
Introduction to Exceptions in Java CS201, SW Development Methods.
Troubleshooting. What is Troubleshooting ? Troubleshooting is a problem solving method. Other problem solving methods are invention, innovation, engineering.
Personal Responsibility and Decision Making
CSC 110 – Fluency in Information Technology Chapter 7: An Introduction to Debugging Dr. Curry Guinn.
Fluency with Information Technology
Growth Mindset Sources: PERTS, Stanford University’s applied research center on academic motivation and Carol Dweck’s book entitled Mindset: The New.
Words and Actions Can Hurt
CSCE 315 – Programming Studio, Fall 2017 Tanzir Ahmed
To Err Is Human: An Introduction to Debugging
Chapter 11 Making Good Decisions
Debugging and Troubleshooting
An Introduction to Debugging
The Troubleshooting theory
Solutions to Fix Epson Printer Error Code W-61 This error is commonly known as a communication error while users are working on the Epson printer. Our.
Presentation transcript:

The Information School of the University of Washington 13-Oct-2004cse debug1 Debugging and Troubleshooting INFO/CSE 100, Spring 2005 Fluency in Information Technology

The Information School of the University of Washington 13-Oct-2004cse debug2 Readings and References Reading »Fluency with Information Technology Chapter 7, To Err is Human “To err is human, but it takes a computer to really foul things up”

The Information School of the University of Washington 13-Oct-2004cse debug3 Using Computers... In IT, stuff goes wrong … debugging is the process of finding the error »Term coined by Grace Murray Hopper Best solution … make no mistakes! »Be accurate … get it right the 1 st time »Follow a process that makes it easier to get it right »Computers can’t make "common sense" decisions about what we really meant. They do what we say, not what we mean.

The Information School of the University of Washington 13-Oct-2004cse debug4 When You Debug... There are guidelines for debugging… Rather than trying things aimlessly and becoming frustrated, think of yourself as solving a mystery Be objective: What are my clues? What is my hypothesis? Do I need more data? Consciously ‘watch’ yourself debug -- its an out-of-body experience When stumped, don’t become frustrated, but ask, “What am I misunderstanding?” Become Sherlock Holmes Debugging is not algorithmic: no guaranteed process

The Information School of the University of Washington 13-Oct-2004cse debug5 Debugging Guidelines »Verify that the error is reproducible »Determine exactly what the actual failure is »Eliminate the “obvious” causes by checking »Divide process into working/faulty parts »On reaching a dead end, reassess the information you have, trying to identify the mistake you are making »Work through process making predictions and checking they’re fulfilled

The Information School of the University of Washington 13-Oct-2004cse debug6 First step: verify the error is reproducible »You can't find something that you can't reproduce »Get out and get back in. Does it still happen? Restart the application. Try a different application Reboot the operating system. Sometimes this is appropriate, especially for errors involving peripheral devices (printers, modems) Getting Out and Getting Back In Reproducibility

The Information School of the University of Washington 13-Oct-2004cse debug7 Determine the Problem Second step: figure out what’s wrong »Often there is a sequence of steps following an error and propagating it … work backwards looking to see where the error first occurred Empty Database Mailing Label Pgm Mailing Label File No Labels Printing This is not a printer problem!

The Information School of the University of Washington 13-Oct-2004cse debug8 Eliminate the Obvious Third step: eliminate obvious causes “If the cause were obvious, the problem would have been fixed!” - Yeah, right. »There are standard things to check: Inputs Connections “Permissions” Physical connectivity Requirements My fan is broken, it won't turn on!

The Information School of the University of Washington 13-Oct-2004cse debug9 Isolate the Problem Try to “partition” the situation into working and non-working parts Form a hypothesis of what’s wrong Make as few assumptions as possible Take nothing for granted The goal is to eliminate as many things from consideration as possible

The Information School of the University of Washington 13-Oct-2004cse debug10 At a Dead End, Reassess When everything seems to check out, don’t get frustrated Instead, ask yourself “What am I overlooking or misunderstanding?” »Your goal is to see the situation as it is, not as you think it should be Am I assuming too much? Am I misreading the clues? What can I eliminate or simplify? Explain the situation to a friend

The Information School of the University of Washington 13-Oct-2004cse debug11 Make Predication/Check Beginning with the isolated part, step through the process, predicting the outcome and verifying it »A prediction that is not fulfilled shows… A possible bug A possible misunderstanding A chance to narrow the search ‘Sleeping on it’ often helps!

The Information School of the University of Washington 13-Oct-2004cse debug12 Summary Debugging is not algorithmic, but there are guidelines to follow »Stay calm - high blood pressure clouds your brain »Be organized as you investigate and fix things »Recognize that you may feel a little embarrassed when you finally figure out the problem. If we were perfect, we would never make mistakes... A little humility is a good thing for all of us »Watch yourself debug -- assess how you are doing, what you need to know