Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Non project classes caused setup_dap_main_class_configs to fail
vscode.java.resolveMainClass returns ResolutionItems without projectName for non project classes. Thus, calls to vscode.java.resolveJavaExecutable resulted in "Index 1 out of bounds for length 1". This cascaded into vscode.java.resolveClasspath failing with "Failed to resolve classpath: Referenced classpath provider does not exist: org.eclipse.m2e.launchconfig.classpathProvider".
- Loading branch information