What problem does it solve?
Golang troubleshooting helps you systematically debug Go crashes, deadlocks, panics, hangs, and unexpected behavior by starting from the real error signals and working backward to the root cause rather than applying guess-based symptom fixes.
Core Features & Use Cases
- Decision-first debugging: Use a structured decision tree to pick the right diagnostic path based on what you are seeing (build failures, logic bugs, panics, hangs, CPU/memory spikes).
- Golden-rule methodology: Read the error, reproduce before fixing, test one hypothesis at a time, and trace the bug to its origin.
- Practical evidence tools: Guidance for test-driven reproduction, race detection, pprof workflows (including goroutine/heap profiles), Delve debugging, and GODEBUG tracing.
- Common Go pitfall coverage: Focused explanations for frequent production bugs such as typed-nil interface gotchas, WaitGroup misuse, defer-in-loop leaks, concurrent map fatal errors, context misuse, and production-safe observability.
- Reference-based escalation: Clear “start simple, escalate incrementally” approach, including when to use pprof, Delve, and production-oriented checklists.
Quick Start
Tell the skill: "I’m seeing a panic/deadlock/hang in my Go service—here is the full stack trace/logs and the smallest code path to reproduce it; guide me step-by-step to locate the root cause using tests, race detection, and pprof/Delve as needed."