Debug Helper
A systematic approach to debugging software issues.
Investigation Steps
- •Reproduce the issue consistently
- •Isolate the problem area
- •Form a hypothesis
- •Test the hypothesis
- •Apply the fix
- •Verify the solution
Common Debugging Techniques
- •Add logging at critical points
- •Use breakpoints and step-through debugging
- •Check input/output at boundaries
- •Review recent changes in version control
- •Compare working vs broken states
Error Analysis
- •Read error messages carefully
- •Check stack traces for root cause
- •Verify assumptions about data types and values
- •Look for off-by-one errors and null references