Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standalone debugger fails to start on Ubuntu 22.04 #256

Closed
adamheinrich opened this issue Jan 22, 2023 · 3 comments · Fixed by #266
Closed

Standalone debugger fails to start on Ubuntu 22.04 #256

adamheinrich opened this issue Jan 22, 2023 · 3 comments · Fixed by #266
Assignees
Labels
debug The debug components of CDT, anything to do with running or debugging the target.
Milestone

Comments

@adamheinrich
Copy link

Hello, I wanted to update the standalone deugger to the most recent version. I have followed the instructions in https://github.com/eclipse-cdt/cdt/blob/main/StandaloneDebugger.md#try-out-full-eclipse-installation but when I try to launch the debugger using ~/cdtdebugger/cdtdebug.sh, Eclipse fails with an a message "An error has occured. See the log file.".

I am using Ubuntu 22.04.01 and the version I tried is eclipse-cpp-2022-12-R-linux-gtk-x86_64.tar.gz. The output of java --version is:

openjdk 11.0.17 2022-10-18
OpenJDK Runtime Environment (build 11.0.17+8-post-Ubuntu-1ubuntu222.04)
OpenJDK 64-Bit Server VM (build 11.0.17+8-post-Ubuntu-1ubuntu222.04, mixed mode, sharing)

The log file is: 1674380819910.log

I purged the original 10.0.0 cdtdebugger first (i.e. the folder ~/cdtdebugger did not exist before running install.sh). When instead of running the installed cdtdebug.sh I attempt to run eclipse from the unpacked tar, it starts without errors.

Is this a bug or am I doing something wrong? Thanks for any help :)

@adamheinrich
Copy link
Author

I have just tried to install the Standalone debugger following the same instructions in a fresh installation of Ubuntu 22.04.01 in Virtualbox and got the same error.

@jonahgraham
Copy link
Member

Is this a bug or am I doing something wrong? Thanks for any help :)

This is indeed a bug, thank you for taking the time to report it. It looks like it was broken in 2022-09. The 2022-06 version works and can be used* still. https://www.eclipse.org/downloads/packages/release/2022-06/r/eclipse-ide-cc-developers

* Note that there are a few bugs in Ubuntu 22 that you may trip over:

@jonahgraham jonahgraham added the debug The debug components of CDT, anything to do with running or debugging the target. label Jan 30, 2023
@jonahgraham jonahgraham self-assigned this Jan 30, 2023
@jonahgraham jonahgraham added this to the 11.1.0 milestone Jan 30, 2023
@jonahgraham
Copy link
Member

this issue that you reported which I will try to fix before the pre-release that goes out on Friday.

Fixed now, the 2023-03 M2 build that will be on this URL on Friday looks like it should work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debug The debug components of CDT, anything to do with running or debugging the target.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants