-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support step filter when stepping #155
Conversation
Signed-off-by: Jinbo Wang <[email protected]>
Peer PR on server side: microsoft/java-debug#106 |
README.md
Outdated
@@ -56,6 +56,11 @@ Please also check the documentation of [Language Support for Java by Red Hat](ht | |||
- `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. | |||
- `cwd` - The working directory of the program. | |||
- `env` - The extra environment variables for the program. | |||
- `debugFilters` - Customize the filters to debug "Just My Code". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should avoid the "Just My Code". The "Just My Code" is .net term and has different behavior from here. We should avoid the confusion.
README.md
Outdated
@@ -56,6 +56,11 @@ Please also check the documentation of [Language Support for Java by Red Hat](ht | |||
- `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. | |||
- `cwd` - The working directory of the program. | |||
- `env` - The extra environment variables for the program. | |||
- `debugFilters` - Customize the filters to debug "Just My Code". | |||
- `stepFilters` - Skip these classes when stepping. Each filter could be fully qualified class name or pattern. Example: [\"java.lang.ClassLoader\", \"java.*\"]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be more detail information about the pattern that can be applied here? Regex?
README.md
Outdated
@@ -56,6 +56,11 @@ Please also check the documentation of [Language Support for Java by Red Hat](ht | |||
- `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. | |||
- `cwd` - The working directory of the program. | |||
- `env` - The extra environment variables for the program. | |||
- `debugFilters` - Customize the filters to debug "Just My Code". | |||
- `stepFilters` - Skip these classes when stepping. Each filter could be fully qualified class name or pattern. Example: [\"java.lang.ClassLoader\", \"java.*\"]. | |||
- `skipSynthetics` - Skip synthetic methods when stepping. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is synthetic methods?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: Jinbo Wang <[email protected]>
Signed-off-by: Jinbo Wang <[email protected]>
README.md
Outdated
@@ -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` - Customize the filters to skip the specified methods and classes when stepping. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indention
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Skip specified classes or methods when stepping."
README.md
Outdated
@@ -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` - Customize the filters to skip the specified methods and classes when stepping. | |||
- `classNameFilters` - Skip these classes when stepping. Each filter could be fully qualified class name or regular expression that begins with '\*' or ends with '\*'. Example: [\"java.lang.ClassLoader\", \"java.*\"]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Skip the specified classes when stepping. Class names should be fully qualified. Wildcard is supported.
Signed-off-by: Jinbo Wang [email protected]
Add debugFilters options in launch.json to allow user to customize the filters to debug "Just My Code".