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 I don't have a debug session started, I notice that when I edit a watch expression, the updated expression is not shown until I click on the expression again.
Steps to Reproduce:
Make sure you don't have a debug session running. Add a watch expression.
Edit that watch expression.
Observe that the old expression is still shown.
Click on the expression. The updated expression should now be shown.
…hether or not there is a debug session active so the updated expression can always be shown in UI. Fixes issue eclipse-theia#12605
Signed-off-by: Sophia Li <[email protected]>
Bug Description:
When I don't have a debug session started, I notice that when I edit a watch expression, the updated expression is not shown until I click on the expression again.
Steps to Reproduce:
Additional Information
I believe it's caused by this block here: https://github.com/eclipse-theia/theia/blob/master/packages/debug/src/browser/view/debug-watch-expression.tsx#L45-L47
The function returns immediately when there is no debug session, so
this.options.onDidChange();
is not called.My colleague suggested the following change:
The text was updated successfully, but these errors were encountered: