microsoft / microsoft/vscode-java-debug
Feature request: set breakpoint on assert fail
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 591
- フォーク
- 429
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 19
説明
Feature request: set breakpoint on assert fail
Currently, when a Java assert fails, a stack trace is written to the terminal and the application ends. We know which assertion failed, but the application state is lost making it impossible to troubleshoot.
It would be nice to set this parameter in settings.json
"java.debug.breakOnAssertFail": true
Once this parameter has been implemented, when an assertion fails, the breakpoint pauses the application at the line where the assert failed, preserving the application state and allowing troubleshooting to proceed.
Eclipse has this feature; VSCode should too.
Thanks!
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Issue では settings.json と Java のアサーション失敗について言及されていますが、リポジトリのファイルやテストは特定されていません。まずアサーション失敗の処理と設定の登録箇所を見つけ、次にデバッガーの一時停止がどのように要求されるかを追跡してください。設定によって失敗したアサーションで一時停止でき、アプリケーションの状態が保持され、新しい動作のカバレッジがあることが完了の条件です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript, vscode
- 領域
- devtools
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100