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

Launching a Java class should not execute what is typed in the terminal #1439

Open
Artur- opened this issue Feb 15, 2024 · 1 comment
Open
Labels

Comments

@Artur-
Copy link

Artur- commented Feb 15, 2024

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.

image image

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%
@testforstephen
Copy link
Contributor

This behavior is controlled by VS Code, we need to open the issue at https://github.com/microsoft/vscode/issues. Java Debugger is just a Debug Adapter Protocol implementation and calculate the launching command line and send it to VS Code. It's VS Code client to paste it to the terminal and run it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants