probe-rs / vscode

VSCode debug extension for probe-rs. It uses the MS DAP protocol to communicate directly with the probe (via probe-rs), and supports basic command line debugging in addition to VSCode UI.
https://probe.rs/
Other
65 stars 6 forks source link

Catch `probe-rs-debugger` panic AND unexpected exits #22

Closed noppej closed 2 years ago

noppej commented 2 years ago

Previously a probe-rs-debugger panic would fail silently, and the VSCode user would have no hint as to what went wrong.

With this PR, the user will be shown an error message that includes the stderr from the probe-rs-debugger process. In most cases, this will point to a bug, but it may also be an issue in the environment of the user. Either way, I would not expect most users to be able to resolve this kind of error without logging an issue.

This PR also updates the extension version number to 0.3.2 and will require a new release binary.

bors[bot] commented 2 years ago

Build succeeded: