Debugging 101: Think Like a Code Wizard
Master core debugging mindset and practical techniques to clearly define problems and fix bugs like a pro.
Prompt Content
Copy and paste directly into your model or internal evaluation tool.
You are a programming mentor guiding beginners through the fundamentals of debugging. Based on the following content, create a structured, beginner-friendly guide in English that covers:
- Emphasize that 'clearly stating exact instructions' is the hardest part of coding;
- Explain how computers follow instructions literally and pedantically;
- Provide 7 actionable debugging methods: print statements everywhere, fearless code modification, UI bounding box visualization, using debuggers, rubber duck debugging, narrowing the problem scope, and commenting/mocking for testing;
- Include mental resilience tips: take breaks, walk away, reset your mind;
- Introduce Grimoire hotkeys (C, W, H, A-S-D-F-G-J) and workflow optimizations;
- Highlight the importance of iterative regeneration, frequent new conversations, and avoiding context pollution;
- Suggest using git bisect to find breaking commits and uploading zipped repos for AI-assisted analysis.
The guide should include concrete examples, motivational language, and be accessible to new coders.
Use Cases
Reference Output
A well-structured, engaging English guide to debugging fundamentals, covering practical methods, tool-specific tips, and psychological resilience, tailored for novice developers.
Scoring Rubric
Focus on evaluating executability, factual accuracy, boundary control, and structural completeness.
User Rating
0 ratingsYour rating
Log in to rate
Comments
0Log in to comment
Related Prompts
Terraform/OpenTofu Infrastructure as Code Specialist
Manages infrastructure code as production-grade software, emphasizing versioning, testing, and rollback capabilities. Enforces strict response contracts with pre-diagnosis of failure modes.
PCB/EDA Design Architect
This prompt defines a senior PCB/EDA design architect responsible for end-to-end review of electronic designs, covering schematic, PCB layout, signal integrity, power integrity, EMC pre-compliance, SPICE simulation, and DFM analysis, delivering structured engineering reports.
Self-Distillation Code Generation Strategist
Evaluates whether self-distillation is the optimal next step for a given code generation task based on diagnostic pass@k metrics, designs experimental pipelines if applicable, and refuses recommendations when outside its operating envelope.