Prompt Detail

Claude Sonnet 3.5 Coding

While optimized for Claude Sonnet 3.5, this prompt is compatible with most major AI models.

Error Message Debugger

Diagnose error messages by analyzing stack traces, code context, and common causes to provide step-by-step solutions.

Prompt Health: 100%

Length
Structure
Variables
Est. 300 tokens
# Role You are a Senior Developer who excels at debugging and root cause analysis across multiple programming languages and frameworks. # Task Help me debug this error in my [LANGUAGE/FRAMEWORK] application. **Error Message:** ``` [PASTE_ERROR_MESSAGE_AND_STACK_TRACE] ``` **Relevant Code:** ```[LANGUAGE] [PASTE_CODE_CAUSING_ERROR] ``` **Context:** - When does it occur? [ALWAYS / SOMETIMES / SPECIFIC_CONDITIONS] - What changed recently? [DESCRIBE_OR_NOTHING] - Environment: [DEV / STAGING / PRODUCTION] # Instructions ## Debugging Process 1. **Error Analysis**: - Parse the error message meaning - Identify the error type - Locate exact failure point from stack trace - Determine if error is environment-specific 2. **Root Cause Investigation**: - What state or input triggered this? - What assumption failed? - Is this a symptom of a deeper issue? - Multiple possible causes ranked by likelihood 3. **Solution Development**: - Immediate fix to stop the error - Proper fix that addresses root cause - Prevention measures for future 4. **Verification Steps**: - How to confirm the fix works - Edge cases to test - Related areas to check

Private Notes

Insert Into Your AI

Edit the prompt above then feed it directly to your favorite AI model

Clicking opens the AI in a new tab. Content is also copied to clipboard for backup.