CHALLENGE 5: Squash a Bug with Cursor
Find and fix a non-trivial bug in an existing project, using Cursor to trace it across files.
Challenge
CHALLENGE 5: Squash a Bug with Cursor
CHALLENGE 5: Squash a Bug with Cursor
Level: Advanced
Find and fix a non-trivial bug in an existing project, using Cursor to trace it across files. Always check cursor.com/docs for the latest.
What are we building?
Debugging is where AI really earns its keep. You’ll take a project with a real bug and use Cursor to understand the codebase, trace the problem across files, find the root cause, and confirm the fix instead of hunting line by line on your own.
How it works
- Go to cursor.com and click Download (it auto-detects your OS).
- Find a bug — one in your own project, or a known issue in an open-source repo.
- Ask Cursor to investigate — describe the symptom, let it search the code.
- Fix the root cause — not just the symptom.
- Verify — run it and confirm the bug is gone.
Steps
- Open a project that has a bug (a failing test, a wrong output, a crash).
- Open the AI chat or Agent and describe the symptom, e.g., “When I submit the form with an empty name, the app crashes instead of showing an error. Find out why.”
- Let Cursor search across files to locate the cause. Ask it to explain what’s going wrong.
- Have Cursor propose a fix. Review it — make sure it addresses the root cause, not just the surface.
- Run the app or the tests to confirm the bug is fixed.
Submit: Link us to the before/after (PR, diff, or screenshots) + a sentence on how Cursor helped you track it down.
Submissions are only open during the event.