microsoft / microsoft/vscode-java-debug

stepFilters skipClasses setting not honored

Open
#1,182 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

ai-triaged bug question step
Dominant language
TypeScript
Stars
591
Forks
429
Avg merge
1d 9h
Merged PRs (30d)
19

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the launch.json stepFilters configuration and reproduce the issue using the provided org.springframework.* pattern in a Spring application. Trace how the Java debugger extension reads skipClasses, then verify that stepping no longer enters matching .class files when the configuration is applied.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
developer-experience, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.