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

[plug-in][debug]Run/Debug code lenses don't work #4188

Closed
svor opened this issue Jan 29, 2019 · 2 comments
Closed

[plug-in][debug]Run/Debug code lenses don't work #4188

svor opened this issue Jan 29, 2019 · 2 comments
Assignees
Labels
debug issues that related to debug functionality plug-in system issues related to the plug-in system

Comments

@svor
Copy link
Contributor

svor commented Jan 29, 2019

Steps to reproduce:

  • Exclude java and java-debug Theia extensions
  • Install vscode-java and vscode-java-debug extensions as a plug-ins
  • Create simple java class with main method:
public class HelloWorld {
    public static void main(String[] args) {
        // Prints "Hello, World" to the terminal window.
        System.out.println("Hello, World");
    }
}
  • Try to click on Debug or Run code lense:
    screenshot-localhost-3000-2019 01 29-17-00-04
    Console logs:
rpc-protocol.ts:191 Uncaught (in promise) Error: Cannot read property 'splice' of undefined
    at :3000/tmp/vscode-unpacked/vscjava.vscode-java-debug-0.16.0.vsix/extension/out/src/debugCodeLensProvider.js:124
    at Generator.next (<anonymous>)
    at :3000/tmp/vscode-unpacked/vscjava.vscode-java-debug-0.16.0.vsix/extension/out/src/debugCodeLensProvider.js:9
    at new WrappedPromise (:3000/tmp/vscode-unpacked/vscjava.vscode-java-debug-0.16.0.vsix/extension/node_modules/async-listener/es6-wrapped-promise.js:13)
    at __awaiter (:3000/tmp/vscode-unpacked/vscjava.vscode-java-debug-0.16.0.vsix/extension/out/src/debugCodeLensProvider.js:5)
    at constructDebugConfig (:3000/tmp/vscode-unpacked/vscjava.vscode-java-debug-0.16.0.vsix/extension/out/src/debugCodeLensProvider.js:102)
    at :3000/tmp/vscode-unpacked/vscjava.vscode-java-debug-0.16.0.vsix/extension/out/src/debugCodeLensProvider.js:91
    at Generator.next (<anonymous>)
    at :3000/tmp/vscode-unpacked/vscjava.vscode-java-debug-0.16.0.vsix/extension/out/src/debugCodeLensProvider.js:9
    at new WrappedPromise (:3000/tmp/vscode-unpacked/vscjava.vscode-java-debug-0.16.0.vsix/extension/node_modules/async-listener/es6-wrapped-promise.js:13)
@svor svor added plug-in system issues related to the plug-in system debug issues that related to debug functionality labels Jan 29, 2019
@akurinnoy akurinnoy self-assigned this Feb 13, 2019
@akurinnoy
Copy link
Contributor

Depends on #2290

@akosyakov
Copy link
Member

for 0.16.0 fixed by #4947

latest version does not work but because of other reasons

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 plug-in system issues related to the plug-in system
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants