#10681·theia

debug: cleanup debug session memory leak

Author: vince-fugnittoCreated Jan 27, 2022Updated Sep 30, 2026
Labelsqualitydebug

Bug Description:

A decision was made in the pull-request https://github.com/eclipse-theia/theia/pull/10671 to revert logic which cleaned up a memory leak of the DebugSession in favor of not clearing the console output when a debug session is terminated. We should find a solution which performs the cleanup and preserves the output.

Steps to reproduce:

https://github.com/eclipse-theia/theia/pull/10671#issuecomment-1022633597