theia-ide / theia-apps

Theia applications examples - docker images, desktop apps, packagings
Apache License 2.0
1.04k stars 344 forks source link

bug: problematic `@theia/cpp-debug` extension #494

Closed vince-fugnitto closed 2 years ago

vince-fugnitto commented 2 years ago

Affected Images:

Description

The @theia/cpp-debug extension is causing runtime issues for images since it still targets es5 while the rest of the @theia extensions now target ES2017. This causes runtime issues most notably on startup where the top-level menu is missing, and contributions fail to load.

The @theia/cpp-debug extension needs to be updated to support ES2017 and published so apps can make use of newer versions of the framework:

Additional Info

marcdumais-work commented 2 years ago

Note: The rust image is also affected - it builds in place @theia/cpp-debug.

zedchance commented 2 years ago

Is the fix to this problem to use cdt-gdb-vscode instead of the @theia/cpp-debug extension?

vince-fugnitto commented 2 years ago

Is the fix to this problem to use the cdt-gdb-vscode instead of the @theia/cpp-debug extension?

@zedchance for the time being you could use cdt-gdb-vscode until a newer version of @theia/cpp-debug is released https://github.com/eclipse-theia/theia-cpp-extensions/issues/130. Else you can use an older version of Theia (prior to the es2017 upgrade).