The DAP specification for StackFrame states
/**
* The line within the source of the frame. If the source attribute is missing
* or doesn't exist, `line` is 0 and should be ignored by the client.
*/
line: number;
However, java-debug sends -1 when the source is missing, this breaks debugging on the Zed client
Related issues
microsoft/debug-adapter-protocol#551
zed-industries/zed#37080