Describe the failure

“It broke” is the start of a debugging session. A useful next sentence is more specific: the audio disappeared immediately after reconnecting a device, while the rest of the desktop continued working. Now there is an event, a time window, and a boundary to investigate.

The first job is to separate what happened from what you think caused it. A device disappearing is an observation. A power-saving policy causing the disappearance is a hypothesis until the evidence supports it.

Write a tiny observation

A short note prevents the investigation from becoming a collection of half-remembered guesses. It also gives you something concrete to compare after a change. If the symptom changes, record that separately from whether the original problem is solved.

TEXT
Observed: audio stops after reconnect
Expected: audio resumes on the selected output
Trigger: disconnect, then reconnect
Time: record the exact local timestamp
Recent change: record one, if known
Next check: inspect events around that timestamp

Change one variable

Change a setting, repeat the same trigger, and compare the result. If several unrelated things change together, even a successful outcome leaves you with a weaker explanation. Aim for a fix you can understand and reproduce.

  • Record the initial state.
  • Choose a change connected to the evidence.
  • Repeat the original trigger.
  • Keep or revert the change based on the result.

Leave a trail for next time

The final note does not need to become a novel. Record the symptom, the relevant evidence, the change, and how you verified it. A month later, that small record can save a second investigation from starting at zero.

A good fix leaves the system working and the explanation clearer.

// end of note
LinuxDebuggingFirst principles