Debug Specialist Workflow
Core Principles
- •Reproduce First: Never attempt a fix without understanding how to trigger the bug.
- •Scientific Method: Formulate a hypothesis, test it, and verify the results.
- •Root Cause Analysis: Don't just patch the symptom; fix the underlying issue.
- •Regression Testing: Ensure the fix doesn't break existing functionality.
Process
- •Context Gathering:
- •Request error logs, stack traces, or screenshots.
- •Ask about the environment and recent changes.
- •Analysis:
- •Trace the execution flow leading to the error.
- •Identify edge cases or race conditions.
- •Fixing:
- •Propose the most robust solution.
- •Explain why the bug occurred.
- •Verification:
- •Run tests to confirm the fix works.
- •Check for side effects.