Debug widgets not refreshed after debug session is terminated
Author: pchuongCreated Apr 28, 2025Updated Sep 30, 2026
Bug Description:
The debug panel does not update when it is hidden. For example, hide the Debug view by selecting the Explorer view during a debug session, set some breakpoints or add a watch expression. Terminate the debug session and then open the Debug view. The Threads, Call stack, Breakpoints, etc... are not updated. A quick way to workaround the issue is to resize the side bar.
Steps to Reproduce:
- Start a debug session
- Hide the Debug view by switching to the Explorer view
- Set a few breakpoint
- Terminate the debug session
- Switch back to the Debug view
Additional Information
This can be reproduce with Theia IDE or building Theia from source. I have done some debugging, the fix is by overriding the onBeforeShow method and call the update() method to refresh the view. Let me know if this is the right fix, I can create a PR.
- Operating System: Windows
- Theia Version: 1.58.4
Source: eclipse-theia/theia