#15526·theia

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:

  1. Start a debug session
  2. Hide the Debug view by switching to the Explorer view
  3. Set a few breakpoint
  4. Terminate the debug session
  5. 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