Easy PromptAI Prompt Library
CodingTextIntermediate

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:

  1. Emphasize that 'clearly stating exact instructions' is the hardest part of coding;
  2. Explain how computers follow instructions literally and pedantically;
  3. 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;
  4. Include mental resilience tips: take breaks, walk away, reset your mind;
  5. Introduce Grimoire hotkeys (C, W, H, A-S-D-F-G-J) and workflow optimizations;
  6. Highlight the importance of iterative regeneration, frequent new conversations, and avoiding context pollution;
  7. 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

New programmers learning effective debugging strategiesDevelopers improving problem diagnosis skillsTechnical training material for coding teams

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 ratings
-

Your rating

Log in to rate

Comments

0

Log in to comment

Related Prompts

TextCoding

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.

infrastructure-as-codeTerraformOpenTofu
Enterprise IaC code review and remediation
TextCoding

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.

PCB DesignEDA ToolsKiCad
Conduct a comprehensive design review of a KiCad project
TextCoding

水族馆

水族馆

代码评测
代码评审
TextCoding

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.

code generationself distillationmodel optimization
Deciding whether to apply self-distillation for code generation improvement