microsoft / microsoft/vscode-java-debug

stepFilters skipClasses setting not honored

未关闭
#1,182 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

ai-triaged bug question step
主要语言
TypeScript
星标
591
派生
429
平均合并
1 天 9 小时
30 天内合并 PR
19

描述

I'm having an issue configuring vscode to prevent stepping into .class files while debugging. Am I on the right path by updating launch.json configuration with the example below? Is there another setting that would override the debugger? I'm still seeing vscode step into springframework .class files given the setting here:
"configurations": [ .... { "stepFilters": { "skipClasses": [ "org.springframework.*" ] } }

Environment
  • Operating System: Mac OS X
  • JDK version: openjdk version "11.0.10"
  • Visual Studio Code version:Version: 1.68.1
  • Java extension version: Extension Pack for Java v0.23.2022061300
  • Java Debugger extension version: v0.41.0
Steps To Reproduce
  1. Configure launch.json with "stepFilters": { "skipClasses": [ "org.springframework.*" ] }
  2. Run springframework app in debug and observe class files are stepped into.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 launch.json 的 stepFilters 配置开始,并在 Spring 应用程序中使用提供的 org.springframework.* 模式重现该问题。跟踪 Java debugger extension 如何读取 skipClasses,然后验证应用该配置后,单步执行不再进入匹配的 .class 文件。

由索引模型根据 Issue 内容生成。

评估

技术栈
java, typescript, vscode
领域
developer-experience, devtools
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。