Visitar URL original
Allow to cancel resolveMainMethod codelens command by testforstephen · Pull Request #881 · microsoft/vscode-java-debug · GitHub
The Wayback Machine - https://web.archive.org/web/20201030183712/https://github.com/microsoft/vscode-java-debug/pull/881
Skip to content
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

Allow to cancel resolveMainMethod codelens command #881

Merged
merged 1 commit into from Sep 11, 2020

Conversation

@testforstephen
Copy link
Contributor

@testforstephen testforstephen commented Sep 10, 2020

This works with PR microsoft/java-debug#350

@testforstephen
Copy link
Contributor Author

@testforstephen testforstephen commented Sep 10, 2020

Try to edit a unit test file for a while, below is the profiling result.

resolveMainMethod command is triggered 21 times, but the resolveMainMethodCore only runs 13 times, that means the cancel is hit 8 times.
image

@testforstephen testforstephen force-pushed the testforstephen:jinbo_cancel branch from c229951 to 2e4f5e5 Sep 10, 2020
@testforstephen testforstephen force-pushed the testforstephen:jinbo_cancel branch from 2e4f5e5 to fe75a3e Sep 11, 2020
@testforstephen testforstephen requested review from jdneo and Eskibear Sep 11, 2020
@testforstephen testforstephen merged commit e1c3d06 into microsoft:master Sep 11, 2020
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
license/cla All CLA requirements met.
Details
@testforstephen testforstephen deleted the testforstephen:jinbo_cancel branch Sep 11, 2020
@testforstephen testforstephen added this to the 0.29.0 milestone Oct 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.