liveBook · Manning

Hot exploration

As explained in The Art of Code

Hot exploration is an investigative technique that follows a reproducible failure while it is occurring, from its first observable error toward its root cause.

Hot exploration investigates a reproducible failure while it is happening. Start where the error first appears, follow its trail through available evidence, and move progressively closer to the root cause. section 10.3.2

Use hot exploration when a failure can be triggered reliably:

  • Confirm the exact steps, inputs, user actions, permissions, configuration, external systems, and datasets that trigger the problem. section 10.3.2
  • Watch the failure unfold and gather evidence at the relevant moment, including logs, console output, network traces, monitoring data, recent code changes, and dependency availability. section 10.3.2
  • Follow the evidence across system boundaries until it identifies the faulty operation or code location. section 10.3.2

Tracing a broken web form

Reproduce the form failure, then inspect the browser console and network trace. An HTTP 500 response from a web service shifts the investigation to the backend. Matching that timestamp against application logs reveals a stack trace and pinpoints the faulty line of code. section 10.3.2

Hot exploration depends on reproducibility. When the failure cannot be reproduced, switch to cold exploration: build a timeline from the first report and reconstruct events from remaining traces. section 10.3.2 section 10.4

How The Art of Code covers it

How deep it goes
Explains a practical evidence-tracing procedure and contrasts it with cold exploration when reproduction is unavailable.
Examples
Uses a broken web form, an HTTP 500 network response, backend logs, a timestamp, and a stack trace.
What it assumes
Assumes an observable, reproducible failure and enough initial information to identify its triggering conditions.
What you can do after
Diagnose/debug with it by reproducing a failure, collecting live evidence, and tracing the error toward faulty code.
How it connects
Connects reproducibility, root-cause analysis, logs, network traces, monitoring, and cold exploration.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of The Art of Code. The section links point to the parts of the book it draws on.