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

vscode-java-debug Error: It is not possible to provide debug adapter executable. #9012

Closed
joho1001 opened this issue Jan 31, 2021 · 5 comments
Labels
debug issues that related to debug functionality java issues related to the java language vscode issues related to VSCode compatibility

Comments

@joho1001
Copy link

joho1001 commented Jan 31, 2021

Bug Description:

root ERROR Error starting the debug session Error: It is not possible to provide debug adapter executable.
    at DebugExtImpl.<anonymous> (/home/NETZAGENTUR/josef/git/theia/packages/plugin-ext/lib/plugin/node/debug/debug.js:709:39)
    at step (/home/NETZAGENTUR/josef/git/theia/packages/plugin-ext/lib/plugin/node/debug/debug.js:33:23)
    at Object.next (/home/NETZAGENTUR/josef/git/theia/packages/plugin-ext/lib/plugin/node/debug/debug.js:14:53)
    at fulfilled (/home/NETZAGENTUR/josef/git/theia/packages/plugin-ext/lib/plugin/node/debug/debug.js:5:58)
    at processTicksAndRejections (internal/process/task_queues.js:94:5)

Steps to Reproduce:

  1. git clean -fxd; yarn; yarn run start:electron or yarn run start:browser
  2. manually install redhat-java@0.74 and vscode-java-debug@0.30 extensions
  3. configure debugging configuration
    { "version": "0.2.0", "configurations": [
    { "type": "java", "name": "Debug localhost", "request": "attach", "hostName": "localhost", "port": 9999}]}

when opening a java source file, theia starts a java process, code completion aka intellisense also works perfectly.
so, redhat-java extension seems to work.
but vscode-java-debug seems not to start up correctly.

  • Operating System: Ubuntu 20.04
  • Theia Version: master branch, v1.0.10, v1.0.9
@vince-fugnitto vince-fugnitto added debug issues that related to debug functionality java issues related to the java language vscode issues related to VSCode compatibility labels Feb 2, 2021
@danarad05
Copy link
Contributor

@joho1001 - opened PR #9035 for this issue. I'm not sure it solves all issues and renders java debugging fully operational on Theia but managed to run basic debug on java project - also not sure that Theia is the most comfortable IDE for it but for starters let's see if it works for you.
Thanks

@vince-fugnitto @amiramw

@danarad05
Copy link
Contributor

danarad05 commented Feb 10, 2021

As per @vince-fugnitto' request, split #9035 to 2 separate PRs: #9048 #9049. closed #9035.

@amiramw
Copy link
Member

amiramw commented Mar 21, 2021

@danarad05 can we close this issue?

@danarad05
Copy link
Contributor

@amiramw As #9048 @9049 are merged - yes.

@amiramw amiramw closed this as completed Mar 21, 2021
@amiramw
Copy link
Member

amiramw commented Mar 21, 2021

@joho1001 feel free to reopen if we miss something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debug issues that related to debug functionality java issues related to the java language vscode issues related to VSCode compatibility
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants