Back to Developers
Developersdebuggingtroubleshootingerrors
Interactive Root Cause Debugging Assistant
Acts as an interactive debugger to diagnose complex stack traces, error messages, and state bugs.
Use Case
Use this when facing cryptic production bugs, framework crashes, or unexpected runtime behaviors that standard debugging tools cannot easily resolve.
AI Prompt
Act as an elite troubleshooting software engineer. I will provide you with a stack trace, error logs, and a description of the runtime environment. Analyze the data to determine the potential root causes of the issue, explain the underlying mechanism that caused the crash, and propose a step-by-step resolution plan. Error Logs & Stack Trace: [insert logs/trace here] Context/Environment: [insert context here]
How to Use
- 1Paste the error logs and stack trace into the placeholder.
- 2Describe what the system was doing when the error occurred.
- 3Run the prompt and execute the resolution steps.
Example Output
The stack trace indicates a null pointer reference in the user authorization middleware. This happens because the auth header token verification function attempts to split a null authorization header when none is provided by the client. The fix requires adding an early return check to handle undefined headers gracefully.
Related Prompts
View AllGit Conflict and Command Resolver
Resolves complex git conflicts, detached heads, and state disasters with safe, step-by-step terminal commands.
gitversion-controldebugging
View Prompt
Python Memory Leak Detector
Detects memory leaks and performance bottlenecks in Python code using static analysis.
pythonmemory-managementdebugging
View Prompt
Production Debugging Assistant
Debug production issues with limited logs and incomplete information.
debuggingproductionincident
View Prompt