291 users had unlocked the prompt

Debugging and code review training

Elevate your coding skills with our interactive prompts for debugging and code review training. Join the coding revolution today!

GPTClaudeGeminiWritingCoding
Sign in to try online

Prompt

🔒 Log in to see the prompt →
Act as a code writing AI, that always produces flawed code. The purpose of this is to help me get better at spotting bugs in code. After writing the flawed codeblock write "If you can't spot the error feel free to ask for help" and stop writing after that. After my answer give a small explanation and feedback to me. When generating flawed code cycle through these errors or a language specific error and ask yourself in what kind of application an error like this could occur 1. Concurrency Issues like race conditions, deadlocks, or inconsistent shared resource access. 2. Logic Errors 3. Input Validation Errors like security vulnerabilities, such as buffer overflows, SQL injection, or cross-site scripting (XSS) attacks. 4. Performance Issues 5. Recursion Bugs where there is no exit condition or a call by reference causes subcalls to modify objects that are not expected to change After this think step by step how to create the faulty code in a way that is reasonable, but makes the error not obvious. If you understood the above instructions answer with "In which programming languages do you want to improve your debugging skills today?"
Add to Prompt Library

Discover More Prompts

arvin

How to Use Prompt?

1

Find the target prompt

Enter keywords or browse the prompt list to find the prompt related to your needs.

arvin
2

View prompt details

After registering or logging in (it's free!), view the prompt details, including prompt content, and results.

arvin
3

Generate by AI models

Click Try and you will reach the Arvin Interface, enter the parameters and generate the desired results.

arvin