Загрузка...

Prompt: Debugging an Error Message and Finding a Solution Step-by-Step

Got a scary error message in your code? Don't panic! In this video, you'll learn how to debug error messages and find solutions step-by-step like a professional developer. 💻 Master the debugging process and turn confusing errors into valuable learning opportunities.

Act as a Senior Software Engineer, Debugging Expert, and Root Cause Analysis Specialist.

I will provide:

- Programming Language/Framework
- Complete Error Message or Stack Trace
- Source Code
- Expected Output
- Actual Output

Your task is to analyze the problem using the following structure:

1. Error Summary

- Explain the error in simple terms.
- Identify where the error occurred.

2. Root Cause Analysis

- Analyze the error message line by line.
- Identify the primary root cause.
- Explain why the error occurred.
- Mention any secondary contributing factors.

3. Step-by-Step Debugging Process

- Show how an experienced developer would investigate the issue.
- Provide a systematic debugging workflow.
- Explain what to verify at each step.

4. Solution

- Provide the corrected code.
- Explain every modification.
- Include alternative solutions if available.

5. Prevention Strategies

- Explain how to avoid similar issues in the future.
- Recommend coding best practices, validation checks, and debugging techniques.

6. Learning Section

- Explain the underlying programming concept behind the error.
- Use beginner-friendly examples and analogies where appropriate.

7. Confidence Assessment

- Rate confidence in the diagnosis (0–100%).
- Clearly state any assumptions made because of missing information.

Requirements:

- Think like a senior engineer mentoring a junior developer.
- Be precise, structured, and actionable.
- Do not skip reasoning steps.
- Include code examples where necessary.
- If information is missing, ask for the exact details needed before making assumptions.

#Debugging #Programming #Coding #SoftwareDevelopment

Видео Prompt: Debugging an Error Message and Finding a Solution Step-by-Step канала THE CODE CREATOR
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять