CursorBot logoCursorBot

Debug from the error, the stack, and the code

Most debugging sessions start with three artifacts: the code that ran, the error text, and the stack. CursorBot reads those together and proposes a cause and a fix you can verify.

What to include

Include the error message exactly. Paraphrases drop the type name or status code that identifies the failure.

Include the frames you own. Library frames matter when the bug is a bad call, and they are noise when the bug is your state.

What you still do

Reproduce the failure after the suggested change. A plausible explanation is not a passing test.

Example prompt

This query throws at runtime. Here is the function, the error, and the stack. What is the null, and what should guard it?

Questions

Can it run the code to confirm the fix?

No. This release does not execute uploaded code or shell commands.

Start with CursorBot