Sitelet https://web.archive.org/web/20220906172728/https://github.com/microsoft/vscode-java-debug/pull/586
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

Add debug/toolbar button to reload changed classes #586

Merged
merged 4 commits into from May 28, 2019
Merged

Conversation

testforstephen
Copy link
Contributor

@testforstephen testforstephen commented May 23, 2019 •

Signed-off-by: Jinbo Wang jinbwan@microsoft.com
Close #559

Add a new debug settings java.debug.settings.hotCodeReplace to control how to trigger HCR. Defaults to manual.

  • manual - Click the toolbar to apply the changes.
    image
  • auto - Automatically apply the changes after compilation. This is the old behavior.
  • never - Never apply the changes.

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
README.md Outdated Show resolved Hide resolved
"The hot code replace feature requires you to enable the autobuild flag, do you want to enable it?",
"Yes", "No");
if (ans === "Yes") {
await autobuildConfig.update("enabled", true);
Copy link
Contributor

@yaohaizh yaohaizh May 23, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happen after enable it?

Copy link
Contributor Author

@testforstephen testforstephen May 23, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

current hcr doesn't take effect, you need click again.

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
@@ -14,7 +14,7 @@
"debugger"
],
"engines": {
"vscode": "^1.22.0"
"vscode": "^1.32.0"
Copy link
Contributor

@yaohaizh yaohaizh May 28, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When is the features introduced in vscode for additional icons in debug toolbar?

Copy link
Contributor Author

@testforstephen testforstephen May 28, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, 1.32 add the support to extend the debug toolbar buttons.

@testforstephen testforstephen merged commit f79664c into master May 28, 2019
3 checks passed
@testforstephen testforstephen deleted the jinbo_hcr branch May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants