Skip to content

Commit 9623b8f

Browse files
authored
fix: lspFrame.source.path is null (#618)
* fix: lspFrame.source.path is null * fix: update bundle location
1 parent 81339de commit 9623b8f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public CompletableFuture<Response> handle(Command command, Arguments arguments,
114114
result.add(lspFrame);
115115
frameReference.setSource(lspFrame.source);
116116
int jdiLineNumber = AdapterUtils.convertLineNumber(jdiFrame.lineNumber, context.isDebuggerLinesStartAt1(), context.isClientLinesStartAt1());
117-
if (jdiLineNumber >= 0 && jdiLineNumber != lspFrame.line) {
117+
if (jdiLineNumber != lspFrame.line && lspFrame.source != null && lspFrame.source.path != null) {
118118
decompiledClasses.add(lspFrame.source.path);
119119
}
120120
}

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.38-I-builds/"/>
7+
<repository location="https://download.eclipse.org/eclipse/updates/4.38"/>
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)