You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to evaluate expression in debugger, debug adapter can return success: false and error description. This is common thing that expressions can be misprinted and contain errors.
Bug Description:
When trying to evaluate expression in debugger, debug adapter can return success: false and error description. This is common thing that expressions can be misprinted and contain errors.
But, it seems Theia doesn't honor success flag of response https://github.com/eclipse-theia/theia/blob/master/packages/debug/src/browser/console/debug-console-items.tsx#L318 and shows error UI only in case of exception, which is not thrown in case of evaluation error.
Steps to Reproduce:
Expected, that real error is shown in an "error" manner, with Severity.Error
Reason: Theia tries to show a successful evaluation resultm which is "not available" because debug adapter returned error, not a result.
Additional Information
The text was updated successfully, but these errors were encountered: