18 lines
423 B
Markdown
18 lines
423 B
Markdown
---
|
|
name: debugging
|
|
description: Investigate and resolve software defects using evidence.
|
|
---
|
|
|
|
# Debugging
|
|
|
|
Use when behavior is incorrect, failing, or unexpectedly slow.
|
|
|
|
1. Reproduce or isolate the problem.
|
|
2. Gather evidence and identify the likely cause.
|
|
3. Apply the smallest complete fix.
|
|
4. Run relevant verification.
|
|
|
|
Return the cause, change, and verification result.
|
|
|
|
Do not guess when evidence can be collected.
|