1 / 7

Debugging (some advanced stuff)

Debugging (some advanced stuff). Please snarf the example code we’ll be using today – it’s Mike’s Debugging Example Also get a piece of paper. War Story. Debugging. Snarf the code for today’s class. What We Will Do Today. How To Use The Debugger

telyn
Download Presentation

Debugging (some advanced stuff)

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 (some advanced stuff) Please snarf the example code we’ll be using today – it’s Mike’s Debugging Example Also get a piece of paper

  2. War Story

  3. Debugging Snarf the code for today’s class

  4. What We Will Do Today • How To Use The Debugger • Mike’s Thoughts on Debugging Hard to Debug Bugs • A debugging challenge

  5. Iron Law of Debugging • Do not assume you know what or where the problem is • Gather data on the problem • When you understand the problem, the fix is obvious

  6. How to Debug Hard to Debug Bugs Two things to do: • Get more information about the bug. • Change your reproduction environment so you can get more information about the bug Remember: you can’t get stuck.

  7. Imagine you’re a programmer working for a company that sells stuff online. Your vendors submit 300 megabyte XML files that describe their project inventory, which you then process and turn into webpages. You are trying to get a new vendor onboard…but your boss tells you that everytime they upload their feed, they get an error message saying “An unknown error has occurred processing your feed. Please contact technical support.” Get more information about the bug. Change your reproduction environment so you can get more information about the bug

More Related