microsoft / microsoft/vscode-java-debug

jdk17 source code, src.zip which is invisible

Open
#1,480 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ai-triaged question
Dominant language
TypeScript
Stars
591
Forks
429
Avg merge
1d 9h
Merged PRs (30d)
19

Description

[provide a description of the issue]

Environment
  • Operating System:
            .-/+oossssoo+/-.               
        `:+ssssssssssssssssss+:`           ----------
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 20.04.6 LTS on Windows 10 x86_64
    .ossssssssssssssssssdMMMNysssso.       Kernel: 5.15.146.1-microsoft-standard-WSL2
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Uptime: 52 mins
  +ssssssssshmydMMMMMMMNddddyssssssss+     Packages: 1554 (dpkg)
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Shell: bash 5.0.17
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Terminal: Relay(9345)
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   CPU: 12th Gen Intel i5-12450H (12) @ 2.496GHz
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   GPU: 0010:00:00.0 Microsoft Corporation Device 008e
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   Memory: 2114MiB / 7799MiB
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   GPU Driver: Red Hat, Inc. Virtio console [1af4:1043] (rev 01)
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   CPU Usage: 6%
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/    Disk (/): 48G / 1007G (5%)
  +sssssssssdmydMMMMMMMMddddyssssssss+     Battery1: 99% [Unknown]
   /ssssssssssshdmNNNNmyNMMMMhssssss/      Local IP: 172.29.183.120
    .ossssssssssssssssssdMMMNysssso.       Public IP: 120.239.70.3
      -+sssssssssssssssssyyyssss+-         Users: kirk
        `:+ssssssssssssssssss+:`           Locale: C.UTF-8
            .-/+oossssoo+/-.


  • JDK version:
    openjdk version "17.0.10" 2024-01-16
    OpenJDK Runtime Environment (build 17.0.10+7-Ubuntu-120.04.1)
    OpenJDK 64-Bit Server VM (build 17.0.10+7-Ubuntu-120.04.1, mixed mode, sharing)

  • Visual Studio Code version:
    Version: 1.89.1 (user setup)
    Commit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685
    Date: 2024-05-07T05:13:33.891Z
    Electron: 28.2.8
    ElectronBuildId: 27744544
    Chromium: 120.0.6099.291
    Node.js: 18.18.2
    V8: 12.0.267.19-electron.0
    OS: Windows_NT x64 10.0.22631

  • Java extension version:
    Name: Extension Pack for Java
    Id: vscjava.vscode-java-pack
    Description: Popular extensions for Java development that provides Java IntelliSense, debugging, testing, Maven/Gradle support, project management and more
    Version: 0.26.0
    Publisher: Microsoft
    VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-pack

  • Java Debugger extension version:
    Name: Debugger for Java
    Id: vscjava.vscode-java-debug
    Description: A lightweight Java debugger for Visual Studio Code
    Version: 0.57.0
    Publisher: Microsoft
    VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-debug

Steps To Reproduce
  1. download openjdk17 source code
  2. configure src.zip as jre
  3. vscode could not select src.zip which is invisible

image

[attach a sample project reproducing the error]
attach logs

Current Result
Expected Result
Additional Informations

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in VS Code with OpenJDK 17 and src.zip configured as the JRE, then inspect how the Java Debugger extension discovers and displays JRE source archives. The issue names no source file or test and leaves Current Result and Expected Result empty; done should be a reproducible fix with a verification case showing src.zip is selectable.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
developer-experience, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.