Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/debugAdapter: add 'panic' and 'fatal error' as stopped reasons
Delve sets breakpoints in order to catch uncaught panics and fatal throws when they happen. The extension was sending a stopped event with reason breakpoint because it was stopped on a breakpoint, even though it was not a user set breakpoint. The extension will now check for these special breakpoints, and set the reason for stopping as 'panic' and 'fatal error'. Fixes golang#648 Change-Id: Ie72d35b2d02669cd011197c484cd0f99fbc57cc2 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/256939 Trust: Suzy Mueller <[email protected]> Run-TryBot: Suzy Mueller <[email protected]> TryBot-Result: kokoro <[email protected]> Reviewed-by: Polina Sokolova <[email protected]>
- Loading branch information