14_wrtng_largprog

14_wrtng_largprog - Introduction to Computers and...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Introduction to Computers and Programming Prof. I. K. Lundqvist Lecture 14 April 21 2004 2 Outline • Bhorbugs and Heisenbugs • Designing Large Programs – Software design quality –Modu lar
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
3 Real Bugs and Software Bugs adjust to the level of experience of the programmer invade the test environment replace previously caught bugs 4 Taxonomy of Bugs •Bugs •Bugs •Bugs • Reproducible bugs / Bohrbugs • Unreproducible / Heisenbugs • Tasking /Timing bugs
Background image of page 2
Reproducible Bugs/ Bhorbugs Always cause a failure and can be reproduced explaining what should be happing Verbalization often clarifies muddled thoughts friend do a quick sanity check change things, your actions should have a purpose 6 Heisenbugs A bug that disappears or when you are trying to track it down platforms program stop everything when one is violated the bug Try Have a Don’t randomly changes behavior Try to make the bug reproducible by switching Insert checks for invariants and have the Verify each layer with small, simple tests Find the smallest system which demonstrates
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 11

14_wrtng_largprog - Introduction to Computers and...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online