eclipse-cdt-cloud / cdt-cloud-blueprint

CDT Cloud Blueprint is a template for building custom web-based C/C++ tools. It is made up of existing open source components and can be easily downloaded and installed on all major operating system platforms.
MIT License
22 stars 11 forks source link

When opening the CDT blueprint on the Theia website the debug extension is active - but there's no gdb in PATH, which seems quite bad. #46

Closed jonahgraham closed 1 year ago

jonahgraham commented 1 year ago

Note: when opening the CDT blueprint on the Theia website the debug extension is active - but there's no gdb in PATH, which seems quite bad.

Originally posted by @GitMensch in https://github.com/eclipse-cdt-cloud/cdt-cloud-blueprint/issues/33#issuecomment-1411005626

sdirix commented 1 year ago

For now we mainly focused on the Electron version of CDT Cloud Blueprint. The Browser version still has more issues and the current state in the hosted version is not very good. We should think about removing or hiding that option until we're fully ready to present it and all open issues are properly documented.

GitMensch commented 1 year ago

Is there an online version of the Electron version of CDT Cloud Blueprint, too?

sdirix commented 1 year ago

The Electron version needs to run locally. You can either download and install the latest release or start the development version from this repository via yarn && yarn electron start

GitMensch commented 1 year ago

Seems I've failed with that download link. After several hops I've got an Appimage from end of last year (https://download.eclipse.org/theia/cdt-cloud/latest/linux/CDTCloudBlueprint.AppImage), but that seems to be Theia based, too.

Note: the appimage does not contain libnss3, which had to be system-installed. This may be something to tackle (I don't know, other appimages I've used did not need it, only the minimal appimage libraries [fuse to not need to unpack it]).

planger commented 1 year ago

I've verified that with the current version of CDT Cloud Blueprint on https://try.theia-cloud.io GDB is installed and works correctly with the provided CMake example.

@GitMensch I'm not sure about the libnss3 issue you mentioned. If this is still a problem, please open another issue. Thank you!

GitMensch commented 1 year ago

I can confirm that the current CDT blueprint has a working GDB included.