Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Set source to null when unavailable in a StackTrace
  • Loading branch information
playdohface committed Nov 22, 2025
commit 57f2ae47e4d19bec81d2abf35aed1df8b374c45c
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ private Types.StackFrame convertDebuggerStackFrameToClient(StackFrameInfo jdiFra
} else {
// For other unavailable method, such as lambda expression's built-in methods run/accept/apply,
// display "Unknown Source" in the Call Stack View.
clientSource = new Types.Source("Unknown Source", "unknown", 0);
clientSource = null;
}
// DAP specifies lineNumber to be set to 0 when unavailable
clientLineNumber = 0;
Expand Down