microsoft / vscode-copilot-release

Feedback on GitHub Copilot Chat UX in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat
Creative Commons Attribution 4.0 International
338 stars 36 forks source link

Add feature to give solution for debugging runtime panic issue #655

Open dbsxdbsx opened 11 months ago

dbsxdbsx commented 11 months ago

For example, with a flutter proejct, everything is ok, but while running, it would run into panic like this: image This panic issue would only show when the App is under running. And it is easy to see that the debug stack information is quite a lot from the left debugging view--- Most of them are quite messy and not related to users code.

So I think it would be a quite useful feature for Copilot to gain the whole context of debugging and then give useful solution/advice then.

aiday-mar commented 10 months ago

That is an interesting idea. I suppose here we could add a sparkle into the Exception zone widget, which on click would send the error as well as the stack trace potentially in order to fix the runtime error.