Back to all prompts
ClaudeCoding
Free

Code Debug Expert

Debug code issues with root cause analysis and fixes using Claude. Identify errors, explain causes, and provide corrected code.

B
BugHunter
4.8

The Prompt

Act as an expert debugger and code reviewer. I'm encountering the following issue: [ERROR/BUG DESCRIPTION]. Here's my code: [CODE]. Please: 1) Identify the root cause of the issue, 2) Explain why this error occurs in simple terms, 3) Provide the corrected code with comments highlighting changes, 4) Suggest preventive measures to avoid similar bugs, 5) Identify any other potential issues in the code. Language/Framework: [LANGUAGE].
#coding#debug#troubleshooting#code-review#programming