All Collections
Coding Sketches
AI-Assisted Debugging
AI-Assisted Debugging

Use GPT to resolve bugs easily in your code

Sinan Ascioglu avatar
Written by Sinan Ascioglu
Updated over a week ago

We're excited to announce that our code editor now supports AI-Assisted Debugging, a feature designed to help you and your students resolve bugs effortlessly. By leveraging ChatGPT from OpenAI, our AI reviews your code and highlights any issues, working seamlessly with P5js Friendly Error Messaging to enhance the coding experience.

Due to increasing costs of GPT-4, the most recent version of chatGPT, this feature is only available to Plus+ Members.

The AI in action, analyzing a code and highlighting bugs

In implementing this feature, we opted for a subtle, non-intrusive approach. Our AI-debugging feature appears when an error is displayed in the console. Simply click on the AI link to send your code for a quick review.

It's important to note that our AI follows specific instructions:

  • Keeps answers short and precise.

  • Does not provide code examples but instead uses words to explain the situation and offer possible recommendations.

This approach empowers you and your students to address issues in your code independently. We believe it's a fantastic way to assist students in understanding bottlenecks while encouraging them to find their own solutions.

Looking ahead, we plan to introduce more controls, allowing you to enable or disable this feature at the institution or class level. We welcome any questions or feedback you may have. Feel free to reach out; we're here to help!
โ€‹

Did this answer your question?