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

[Debug] [Linux] [Arch] "Debug As -> Rust Project" does not work #139

Closed
anb0s opened this issue Oct 3, 2018 · 6 comments
Closed

[Debug] [Linux] [Arch] "Debug As -> Rust Project" does not work #139

anb0s opened this issue Oct 3, 2018 · 6 comments

Comments

@anb0s
Copy link

anb0s commented Oct 3, 2018

Select project and use "Debug As -> Rust Project" shows just:
image

Versions

  • OS: Linux ... 4.18.9-1-MANJARO SMP PREEMPT ... x86_64 GNU/Linux
  • Rust: rustc 1.31.0-nightly (2bd5993ca 2018-10-02)
  • rust-gdb: GNU gdb (GDB) 8.2
  • Eclipse: Eclipse IDE for C/C++ Developers, Version: 2018-09 (4.9.0), Build id: 20180917-1800
  • Corrosion: Rust edition in Eclipse IDE 0.1.0.201809141024
@anb0s
Copy link
Author

anb0s commented Oct 3, 2018

see #140 with GDB 8.1 at Debian it works!

@akurtakov
Copy link
Member

To help further investigation - debug works for me with GDB 8.2 on Fedora 29.

@aario
Copy link

aario commented Oct 16, 2018

Seems like gdb version doesn't have anything to do with this.

> gdb --version
GNU gdb (Debian 8.1-4+b1) 8.1
.
.
.
> rustc --version
rustc 1.28.0-nightly (29ffe51e3 2018-05-23)
Eclipse IDE for Rust Developers

Version: 2018-09 (4.9.0)
Build id: 20180917-1800

Still the same error:

Unable to launch Rust Project from selection.
Program file does not exist

@aario
Copy link

aario commented Oct 16, 2018

Here the solution provided worked:
#93 (comment)
And:
#149 (comment)
It's right clicking on the project and selecting Run/Debug As and then Going to configuration dialog and enter an absolute path starting with / as the program to start when debugging.

@mickaelistria
Copy link
Contributor

It seems like patch from #148 could fix this one. Can you please try again with latest snapshot? Update-site is http://download.eclipse.org/corrrosion/snapshots

@anb0s
Copy link
Author

anb0s commented Oct 17, 2018

Updated Corrosion to "0.1.0.201810161046" and "Debug As -> Rust Project" just works without any workarounds now!

Thanks @Boereck and @mickaelistria

@anb0s anb0s closed this as completed Oct 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants