microsoft / microsoft/vscode-java-debug
Launching a Java class should not execute what is typed in the terminal
未关闭
还没有人认领这个 Issue。
ai-triaged
bug
external
- 主要语言
- TypeScript
- 星标
- 591
- 派生
- 429
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 19
描述
Type: Bug
If you type rm -rf something in the terminal and forget to press enter before launching a Java class, then your project is deleted.
Expected:
The project should never be deleted, nor should anything typed in the terminal be executed
Extension version: 0.56.0
VS Code version: Code 1.86.1 (Universal) (31c37ee8f63491495ac49e43b8544550fbae4533, 2024-02-07T09:09:01.236Z)
OS version: Darwin arm64 23.3.0
Modes:
System Info
| Item | Value |
|---|---|
| CPUs | Apple M1 Max (10 x 24) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled |
| Load (avg) | 25, 24, 28 |
| Memory (System) | 64.00GB (1.37GB free) |
| Process Argv | --crash-reporter-id 3c06e13f-ed9a-4182-a8b6-41057b478757 |
| Screen Reader | no |
| VM | 0% |
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
通过在终端中输入一条破坏性命令但不按 Enter,然后启动一个 Java 类,重现报告的案例。跟踪启动该类如何与终端输入交互,并确保输入的命令既不会被执行,也无法删除项目文件;在列出的 VS Code 和扩展版本上验证该行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript
- 领域
- devtools
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 30/100