Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Function breakpoint on methods of static inner classes does not work

オープン
#1,360 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java, typescript
領域
devtools

調査の方向性

提供された StarstarApplication の例を使って関数ブレークポイントの動作を再現し、JDK 17 で top-level main と static inner RootController#root を比較します。Java デバッガーが各メソッドブレークポイントをどのように解決するかを追跡します。inner class のメソッドブレークポイントがバインドされ、root endpoint の実行時に停止すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

ai-triaged bug

I am able to set the function breakpoint on methods of top level class e.g.

com.example.starstar.StarstarApplication#main

but the same does not work for methods of inner static class methods e.g.

com.example.starstar.StarstarApplication.RootController#root

image

@SpringBootApplication
public class StarstarApplication {
	public static void main(String[] args) {
		SpringApplication.run(StarstarApplication.class, args);
	}

	@RestController
	public static class RootController {
		@GetMapping("/")
		public String root() {
			return "Hello World";
                }
       }
}
Environment
  • Operating System: Any
  • JDK version: JDK17
  • Visual Studio Code version: 1.79.2
  • Java extension version: v1.20.0
  • Java Debugger extension version: v0.52.0
Steps To Reproduce
  1. Set function breakpoint on method of top level class
  2. Set function breakpoint on method of static inner class

Run the program.

The function breakpoint on method of top level class works.
The function breakpoint on method of static inner class does not work.

Current Result

The function breakpoint on method of static inner class does not work.

Expected Result

The function breakpoint on method of static inner class should work.

Additional Information
主要言語
TypeScript
スター
591
フォーク
429
平均マージ
1日 9時間
マージ済み PR(30日)
19

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/vscode-java-debug のほかの issue

microsoft/vscode-java-debug の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。