Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Stopping a Java Application with the debugger Stop button dos not work

Đang mở
#1,705 1 bình luận 1 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@chagong đang làm issue này rồi.

Từ ngày 28/9/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

ai-triaged bug

How to Reproduce

  • Just a normal Java Launch configuration e.g.
{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "java",
            "name": "MyApp",
            "request": "launch",
            "projectName": "application",
            "mainClass": "my.app.Application",
        },
  • Start the Configuration
  • Stop via the Debugger Stop Button

What happened

  • The application starts fine ...
  • ... but it doesn't stop. You have to terminate it manually by pressing CTRL+C in the terminal.

What should happen

  • Stopping via the Debugger controls should also terminate the Application at least when the launch configuration is started with "request": "launch".

Analysis
There was some analysis done by @rafael-derner in the last comment of #1585 . This might help fix the bug. #1585 is about Gracefull shutdown not working properly. This bug is about no shutdown being attempt at all. Just killing the process like before would be better than no shutdown at all.

Ngôn ngữ chính
TypeScript
Star
591
Fork
429
Merge trung bình
1 ngày 1 giờ
Pull request đã merge (30 ngày)
21

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/vscode-java-debug

Tất cả issue của microsoft/vscode-java-debug

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.