Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ Please also check the documentation of [Language Support for Java by Red Hat](ht
- `internalConsole` - VS Code debug console (input stream not supported).
- `integratedTerminal` - VS Code integrated terminal.
- `externalTerminal` - External terminal that can be configured in user settings.
- `stepFilters` - Skip specified classes or methods when stepping.
- `classNameFilters` - Skip the specified classes when stepping. Class names should be fully qualified. Wildcard is supported.
- `skipSynthetics` - Skip synthetic methods when stepping.
- `skipStaticInitializers` - Skip static initializer methods when stepping.
- `skipConstructors` - Skip constructor methods when stepping.

### Attach

Expand All @@ -69,6 +74,11 @@ Please also check the documentation of [Language Support for Java by Red Hat](ht
- `timeout` - Timeout value before reconnecting, in milliseconds (default to 30000ms).
- `sourcePaths` - The extra source directories of the program. The debugger looks for source code from project settings by default. This option allows the debugger to look for source code in extra directories.
- `projectName` - The preferred project in which the debugger searches for classes. There could be duplicated class names in different projects. This setting also works when the debugger looks for the specified main class when launching a program.
- `stepFilters` - Skip specified classes or methods when stepping.
- `classNameFilters` - Skip the specified classes when stepping. Class names should be fully qualified. Wildcard is supported.
- `skipSynthetics` - Skip synthetic methods when stepping.
- `skipStaticInitializers` - Skip static initializer methods when stepping.
- `skipConstructors` - Skip constructor methods when stepping.

### User Settings

Expand Down
100 changes: 99 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,55 @@
],
"description": "The specified console to launch the program.",
"default": "internalConsole"
},
"stepFilters": {
"type": "object",
"description": "Skip specified classes or methods when stepping.",
"default": {
"classNameFilters": [
"java.*",
"javax.*",
"com.sun.*",
"sun.*",
"sunw.*",
"org.omg.*"
],
"skipSynthetics": false,
"skipStaticInitializers": false,
"skipConstructors": false
},
"properties": {
"classNameFilters": {
"type": "array",
"description": "Skip the specified classes when stepping. Class names should be fully qualified. Wildcard is supported.",
"item": {
"type": "string"
},
"default": [
"java.*",
"javax.*",
"com.sun.*",
"sun.*",
"sunw.*",
"org.omg.*"
]
},
"skipSynthetics": {
"type": "boolean",
"description": "Skip synthetic methods when stepping.",
"default": true
},
"skipStaticInitializers": {
"type": "boolean",
"description": "Skip static initializer methods when stepping.",
"default": true
},
"skipConstructors": {
"type": "boolean",
"description": "Skip constructor methods when stepping.",
"default": true
}
}
}
}
},
Expand Down Expand Up @@ -166,6 +215,55 @@
"type": "string",
"description": "The preferred project in which the debugger searches for classes. There could be duplicated class names in different projects.",
"default": ""
},
"stepFilters": {
"type": "object",
"description": "Skip specified classes or methods when stepping.",
"default": {
"classNameFilters": [
"java.*",
"javax.*",
"com.sun.*",
"sun.*",
"sunw.*",
"org.omg.*"
],
"skipSynthetics": false,
"skipStaticInitializers": false,
"skipConstructors": false
},
"properties": {
"classNameFilters": {
"type": "array",
"description": "Skip the specified classes when stepping. Class names should be fully qualified. Wildcard is supported.",
"item": {
"type": "string"
},
"default": [
"java.*",
"javax.*",
"com.sun.*",
"sun.*",
"sunw.*",
"org.omg.*"
]
},
"skipSynthetics": {
"type": "boolean",
"description": "Skip synthetic methods when stepping.",
"default": false
},
"skipStaticInitializers": {
"type": "boolean",
"description": "Skip static initializer methods when stepping.",
"default": false
},
"skipConstructors": {
"type": "boolean",
"description": "Skip constructor methods when stepping.",
"default": false
}
}
}
}
}
Expand Down Expand Up @@ -216,7 +314,7 @@
},
"java.debug.settings.showHex": {
"type": "boolean",
"description" : "show numbers in hex format in \"Variables\" viewlet.",
"description": "show numbers in hex format in \"Variables\" viewlet.",
"default": false
},
"java.debug.settings.showStaticVariables": {
Expand Down