microsoft / microsoft/vscode

Debugger UI does not display ErrorResponse from Variables Request

Open
#334,940 0 comments 0 reactions 2 assignees Claimed by @roblourens View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Does this issue occur when all extensions are disabled?: Yes

- VS Code Version: 1.137.0
- OS Version: Windows 11

Steps to Reproduce:

1. using Mock Debug from https://github.com/justarandomgeek/vscode-mock-debug/tree/error-response
2. Debug the test file to the `# Breakpoints` header
3. add a Watch expression `!bang` and observe it correctly displays the error response inline:

Image

4. click the `lazyThrow` var and observe no UI response:

Image

if the error `Message` object has `showUser` set then the error *will* be displayed as toast (lower right popups), but that seems undesirable in both cases, and if it is unset the Variables request produces no user feedback at all. Variables should display the error inline the same way Watch Evals do.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.