Skip to content

Commit 968aaf3

Browse files
Adjust auto setting for async jdwp mode & parepare 0.50.0 release (#1334)
1 parent 9f87152 commit 968aaf3

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to the "vscode-java-debugger" extension will be documented i
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 0.50.0 - 2023-04-26
8+
### Added
9+
- Support specifying the exception types you want to break on. See [#1175](https://github.com/microsoft/vscode-java-debug/issues/1175) and [#295](https://github.com/microsoft/vscode-java-debug/issues/295).
10+
711
## 0.49.1 - 2023-03-28
812
### Added
913
- Add context menus "Auto/Manual Expand Lazy Variables" to Variables view to auto show 'toString()' value. See [#1316](https://github.com/microsoft/vscode-java-debug/pull/1316).

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Please also check the documentation of [Language Support for Java by Red Hat](ht
152152
- `java.debug.settings.stepping.skipConstructors`: Skip constructor methods when stepping.
153153
- `java.debug.settings.jdwp.limitOfVariablesPerJdwpRequest`: The maximum number of variables or fields that can be requested in one JDWP request. The higher the value, the less frequently debuggee will be requested when expanding the variable view. Also a large number can cause JDWP request timeout. Defaults to 100.
154154
- `java.debug.settings.jdwp.requestTimeout`: The timeout (ms) of JDWP request when the debugger communicates with the target JVM. Defaults to 3000.
155-
- `java.debug.settings.jdwp.async`: Experimental: Controls whether the debugger is allowed to send JDWP commands asynchronously. Async mode can improve remote debugging response speed on high-latency networks. Defaults to `auto`, and automatically enable async mode in VS Code - Insiders.
155+
- `java.debug.settings.jdwp.async`: Experimental: Controls whether the debugger is allowed to send JDWP commands asynchronously. Async mode can improve remote debugging response speed on high-latency networks. Defaults to `auto`, and automatically switch to async mode when the latency of a single jdwp request exceeds 15ms during attach debugging.
156156
- `auto` (Default)
157157
- `on`
158158
- `off`

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-java-debug",
33
"displayName": "Debugger for Java",
44
"description": "A lightweight Java debugger for Visual Studio Code",
5-
"version": "0.49.1",
5+
"version": "0.50.0",
66
"publisher": "vscjava",
77
"preview": true,
88
"aiKey": "67d4461e-ccba-418e-8082-1bd0acfe8516",
@@ -52,7 +52,7 @@
5252
}
5353
],
5454
"javaExtensions": [
55-
"./server/com.microsoft.java.debug.plugin-0.44.0.jar"
55+
"./server/com.microsoft.java.debug.plugin-0.45.0.jar"
5656
],
5757
"commands": [
5858
{

src/configurationProvider.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -784,10 +784,7 @@ async function updateDebugSettings(event?: vscode.ConfigurationChangeEvent) {
784784
skipClasses: await substituteFilterVariables(debugSettingsRoot.settings.exceptionBreakpoint.skipClasses),
785785
};
786786

787-
let asyncJDWP: string = debugSettingsRoot.settings.jdwp.async;
788-
if (asyncJDWP === "auto" && vscode.env?.appName === "Visual Studio Code - Insiders") {
789-
asyncJDWP = "on";
790-
}
787+
const asyncJDWP: string = debugSettingsRoot.settings.jdwp.async;
791788
const settings = await commands.executeJavaLanguageServerCommand(commands.JAVA_UPDATE_DEBUG_SETTINGS, JSON.stringify(
792789
{
793790
...debugSettingsRoot.settings,

0 commit comments

Comments
 (0)