C# Debug Lab
Use $csharp-tutor mode=debug-lab.
Treat all user text after $csharp-debug-lab as a request for a C# debugging exercise, broken snippet, guided diagnosis, hint sequence, or debugging practice session. Use the main csharp-tutor skill as the source of truth.
Load these csharp-tutor references when useful:
references/debug-lab-guidance.mdreferences/compiler-error-library.mdreferences/common-csharp-pitfalls.mdreferences/errors-guidance.mdreferences/async-guidance.mdreferences/linq-guidance.mdreferences/testing-guidance.mdreferences/qol-command-ux.md
Honor difficulty=easy|medium|hard, hint=1|2|3, reveal=true|false, and next_difficulty=true. Give the learner the broken code and symptoms first. Do not reveal the fix immediately unless the user asks for it; offer progressive hints, then explain the root cause and corrected code after their attempt.
Standalone Guidance
- Core rule: Keep the answer centered on the concrete debug-lab decision, failure mode, or contract.
- Avoid: Giving generic C# advice without tying it to the debug-lab concern.
- Minimal example:
// Hint: inspect when the sequence is enumerated.