microsoft / microsoft/vscode-java-debug
stepFilters skipClasses setting not honored
Nobody has claimed this yet.
- 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
- Configure
launch.jsonwith"stepFilters": { "skipClasses": [ "org.springframework.*" ] } - Run springframework app in debug and observe class files are stepped into.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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