3
22
Fork
You've already forked swanky-python
1

AI Feature: Predictive debugging #6

Open
opened 2025年12月14日 15:21:56 +01:00 by tichmangono · 2 comments

Predictive debugging (as you write) - before executing code , analyze it against current runtime to predict issues, some IDE's do this but its surface level .. with your access to all those state values and docs, can do more and display warnings in real time before execution. And AI can enhance this process

Predictive debugging (as you write) - before executing code , analyze it against current runtime to predict issues, some IDE's do this but its surface level .. with your access to all those state values and docs, can do more and display warnings in real time before execution. And AI can enhance this process
tichmangono changed title from (削除) Predictive debugging (削除ここまで) to AI Feature: Predictive debugging 2025年12月14日 15:23:39 +01:00
Owner
Copy link

Interesting, I haven't seen this. Do you have links to what other IDE's are doing with this? I searched predictive debugging and found this but it looks like something different.

I'm wary of it happening before executing code, as I want instant feedback and LLMs take a bit to respond. Or of it happening as I write, as what I'm writing is unfinished, any issues identified at that point could just be distracting noise of some issue that will be fixed when I finish writing. But I think maybe a way to do this would be to have it after I evaluate the code, start to analyze in the background and report back some seconds later if it finds an issue like some edge case I might not have handled?

Interesting, I haven't seen this. Do you have links to what other IDE's are doing with this? I searched predictive debugging and found [this](https://blog.jetbrains.com/dotnet/2023/07/27/introducing-predictive-debugging-a-game-changing-look-into-the-future/) but it looks like something different. I'm wary of it happening before executing code, as I want instant feedback and LLMs take a bit to respond. Or of it happening as I write, as what I'm writing is unfinished, any issues identified at that point could just be distracting noise of some issue that will be fixed when I finish writing. But I think maybe a way to do this would be to have it after I evaluate the code, start to analyze in the background and report back some seconds later if it finds an issue like some edge case I might not have handled?

Point taken here on the delay this would introduce. Probably good to assume the user is correct until you find an error. When I said some IDEs do this, I was more thinking about live linting, and type safety check like typescript and pydantic... overall, probably not worth pursuing since it pulls against the whole idea of instant feedback and autoreload

Point taken here on the delay this would introduce. Probably good to assume the user is correct until you find an error. When I said some IDEs do this, I was more thinking about live linting, and type safety check like typescript and pydantic... overall, probably not worth pursuing since it pulls against the whole idea of instant feedback and autoreload
Sign in to join this conversation.
No Branch/Tag specified
main
experimental-ai
No results found.
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sczi/swanky-python#6
Reference in a new issue
sczi/swanky-python
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?