TOPIC 26/7412 MINNOT STARTED

Narrowing down where a bug comes from

Once you can repeat a bug, cut it down. Change one thing at a time until only the steps and data that matter are left. The short list points at the cause.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: the lights go off at home. The lights go off in your house. You do not call the electrician at once. You switch off devices one by one. When the lights stay on after the kettle goes off, you have found the culprit.

Tom, the tester at Daily List, a to-do list app, can now repeat a bug every time. A long list of steps makes it fail. But which steps matter?

Isolation is cutting a failing case down to the smallest steps and data that still fail. Tom tries each step and each piece of data on its own.

The result is a : the shortest set of steps that shows a defect. A short list is easy for Leo, the developer, to follow.

Each thing Tom changes is a variable: one thing that can be changed between two runs. He changes only one variable at a time, so he knows which change mattered.

The picture has a limit. A fuse blows for one reason. A software bug may need two things at once, so removing either one hides it.

(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.

THE REAL JOB Cutting a failing case down, one thing or one half at a time, while it keeps failing the same way.

  1. Change one thing
  2. Cut by halves
  3. Run again
  4. Same failure?
  5. Keep or put back
The isolation loop

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
Switching off devices one by oneChanging one variable at a time
Switching off half the house, then the other halfRemoving half the input, then the other half
The lights stay onThat variable is not needed
The lights go offThat variable matters
Switching off a whole circuit, not one wireCutting by whole pieces such as a line
Checking the same lights trip, not a new faultChecking it is the same failure
Nothing more can be switched offA locally minimal input
The culpritThe minimal reproduction

WHERE THIS PICTURE STOPS

  • A fuse blows for one reason. A bug may need two things together.
  • You can switch a device back on without harm. Some test steps change data and cannot be undone.
  • A home has a few devices. A feature can have many variables.
  • At home, nothing more to switch off means the culprit is found. A locally minimal input may not be the smallest that could fail.

HOOK

One change, one run.

REMEMBER IT THIS WAY

A sequence: the real steps, in order.

Remove half and run again. If the same failure still happens, keep the smaller input; if not, put the half back and try the other half.

What each part of the trick stands for
In the trickWhat it stands for
Remove halfRemove half and run again
Same failurethe same failure still happens
Put backput the half back and try the other half

TELL A FRIEND

At home you switch off devices one by one, or half at a time, to find the culprit. A tester cuts a failing case down while it fails the same way.

OFTEN MIXED UP WITH Reproducing a bug every time. The reproducing lesson shows how to make a bug fail every time. This lesson cuts that failing case down to its smallest form.

PRACTISE AND KEEP

Sources for this topic — 10 sources
  1. Market practice

    A Methodical Approach to Dealing With Bugs (8th Light) ↗ — 8th Light · Article on dealing with bugs: once a bug is reproduced, remove variables until you reach the simplest case that still fails, and remove one at a time so you know which one mattered (search excerpt, page not opened)

    Per the search excerpt, once a bug is reproduced, remove variables until the simplest case that still fails, and remove one at a time. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  2. Market practice

    How to minimize a bug reproduction case (BugNet blog) ↗ — BugNet · Guide to cutting a bug reproduction case down: start from the full reproduction, remove or simplify one element, and stop when removing anything more makes the bug vanish (search excerpt, page not opened)

    Per the search excerpt, start from the full reproduction, remove or simplify one element at a time, and stop when removing anything more makes the bug disappear. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  3. Market practice

    Foundation Level testing syllabus, 5.5 Defect Management (US member board of the International Software Testing Qualifications Board) ↗ — American Software Testing Qualifications Board (ASTQB) · Foundation Level 5.5 Defect Management, as published by a member board: a defect report gives the information needed to reproduce and fix the defect (search excerpt, page not opened)

    A second publisher for the syllabus section on defect management. Cited for the shape of a defect workflow. A defect is logged, analysed and classified, answered with a decision such as fix or keep, and closed. Also cited for the point that a reported anomaly may turn out not to be a defect, and for the syllabus objective to prepare a defect report. · Checked 2026-10-12

    Seen as a search excerpt; the page was not opened. The authoring container could not resolve this publisher's host name when a fetch was tried on 12 October 2026 for related hosts, so this is a reachability gap and not a statement about the publisher. It relays the same syllabus as the registered syllabus entry and adds no independent rule.

  4. Market practice

    Test-case reduction for C compiler bugs (Regehr and others, PLDI 2012 preprint) ↗ — University of Utah (author preprint) · A conference paper saying that reducing a failing C program by cutting text often leaves it too large or invalid, and that tools which know the language reduce it much further (search excerpt, page not opened)

    Conference paper arguing that plain delta debugging leaves C test cases too large or invalid and that reducers that know the language do much better. Compiler-specific, so general lessons are limited. The title was taken from the paper's well-known name and the search listed it as a preprint. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Programming Language Design and Implementation conference, 2012. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  5. Market practice

    Minimal bug reports (Dask project blog) ↗ — Dask project · A project blog post on writing minimal bug reports; the checklist of minimal, complete and verifiable was seen in search summaries of Stack Overflow's help article as mirrored on other sites (search excerpt, page not opened)

    Project blog post on writing minimal bug reports. Practitioner guidance. The minimal, complete and verifiable checklist was seen in search summaries of Stack Overflow's help article as mirrored on other sites. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  6. Market practice

    Simplifying and Isolating Failure-Inducing Input (Zeller and Hildebrandt, Institute of Electrical and Electronics Engineers Transactions on Software Engineering, 2002) ↗ — Saarland University · The paper describes an algorithm that takes a failing input and removes parts by repeated testing until no single part can be removed without the failure going away; it splits the input, tests each part and the rest, and splits finer when nothing fails (search excerpts, page not opened)

    Describes delta debugging: an automatic method that cuts a failing input down to a smaller one that still fails. Their case study cut 896 lines of web page code to the one line that crashed a browser. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Transactions on Software Engineering volume 28 issue 2, pages 183 to 200. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  7. Market practice

    RFC 9110: HTTP Semantics ↗ — IETF (RFC Editor) · Status classes from RFC 9110 (4xx client error, 404 not found, 5xx server error) - registered, search excerpt. The four-question routine is the lesson's own teaching choice, answering a Quora learner question; no source claims it.

    Defines status code classes by first digit (2xx successful, 4xx client error, 5xx server error) and idempotent methods. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  8. Market practice

    Rubber duck debugging ↗ — Wikipedia · Wikipedia. Search excerpt, page not opened. The Pragmatic Programmer book itself was not opened.

    Explaining code step by step in plain words, aloud or in writing, reveals mistakes; named for an anecdote in The Pragmatic Programmer. · Checked 2026-10-19

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  9. Market practice

    Providing Reproduction Steps (Phorge contributor guide) ↗ — Phorge project · Reproduction steps should be simple and minimal, without unnecessary steps, and complete enough for a clean install (search excerpt, page not opened)

    Reproduction steps should be simple and minimal, without unnecessary steps, and complete enough for a clean install. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  10. Market practice

    Certified Tester Advanced Level Test Analyst (CTAL-TA) Syllabus v4.0 ↗ — US member board of the International Software Testing Qualifications Board · ISTQB CTAL-TA v4.0 GA,2 May2025, publisher PDF opened6 November2026: §1.2.4 and §1.3 for anomalies, case quality/levels, environment/oracle/data; §2.2 regression selection; §3.4 experience-based approaches; §5.2 review techniques. Apply only the relevant lesson claim, not universal process mandates.

    Version 4.0 GA syllabus (2 May 2025), read in full text. Used for the objective ids and levels, the behaviour-based techniques in section 3.2, keyword-driven testing in 1.3.6, flexibility testing in 4.3 and defect prevention in chapter 5. It does not teach cause-effect graphs. Paraphrased, not quoted. · Checked 2026-10-18

    Text read in full from a mirror copy of the publisher PDF (ISTQB syllabus CTAL-TA v4.0 GA, 2 May 2025), version checked against the document's own front matter. The page at this URL was not opened. Licence terms were not read, so put it in your own words and do not quote it.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.