Skip to content

Commit cc91739

Browse files
authored
Merge branch 'main' into patch-1
2 parents 612d4ef + 4c80493 commit cc91739

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/adapter/handler/StackTraceRequestHandler.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,10 @@ private Types.StackFrame convertDebuggerStackFrameToClient(StackFrameInfo jdiFra
220220
} else {
221221
// For other unavailable method, such as lambda expression's built-in methods run/accept/apply,
222222
// display "Unknown Source" in the Call Stack View.
223-
clientSource = null;
223+
clientSource = new Types.Source("Unknown Source", "unknown", 0);
224224
}
225+
// DAP specifies lineNumber to be set to 0 when unavailable
226+
clientLineNumber = 0;
225227
} else if (DebugSettings.getCurrent().debugSupportOnDecompiledSource == Switch.ON
226228
&& clientSource != null && clientSource.path != null) {
227229
// Align the original line with the decompiled line.

com.microsoft.java.debug.target/com.microsoft.java.debug.tp.target

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<locations>
55
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
66
<unit id="org.eclipse.platform.feature.group" version="0.0.0"/>
7-
<repository location="https://download.eclipse.org/eclipse/updates/4.37-I-builds/"/>
7+
<repository location="https://download.eclipse.org/eclipse/updates/4.38-I-builds/"/>
88
</location>
99
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
1010
<unit id="org.eclipse.jdt.ls.core" version="0.0.0"/>

0 commit comments

Comments
 (0)