### Summary DAP types incompatible with some DAP servers ### Description Some DAP Servers (Hello Java again) put `-1` into `line` in `StackFrame` when `source` is missing, instead of `0`, while Zed expects `line` to be `u64`. This breaks frame capturing. https://github.com/zed-industries/dap-types/blob/master/dap-types/src/types.rs#L2215 1. Open Spring Boot project 2. Start debugging 3. Add break points to route 4. Make some requests **Expected Behavior**: Debugging works in all cases **Actual Behavior**: It breaks when frame line is -1 I tried mapping line to 0 if it’s -1 for testing, and it worked. https://github.com/DeityLamb/dap-types/commit/d8419e313288f2c2def106672b514285eb940c09 <details> <summary>Video</summary> https://github.com/user-attachments/assets/d6582c3d-fedd-4893-89b4-ac892a9a9a97 </details> Related issues https://github.com/zed-extensions/java/issues/74 ### Zed Version and System Specs Zed: v0.200.5 (Zed) OS: Linux Wayland void unknown Memory: 14.9 GiB Architecture: x86_64 GPU: AMD Radeon Graphics (RADV REMBRANDT) || radv || Mesa 25.1.3
Summary
DAP types incompatible with some DAP servers
Description
Some DAP Servers (Hello Java again) put
-1intolineinStackFramewhensourceis missing, instead of0, while Zed expectslineto beu64. This breaks frame capturing.https://github.com/zed-industries/dap-types/blob/master/dap-types/src/types.rs#L2215
Expected Behavior:
Debugging works in all cases
Actual Behavior:
It breaks when frame line is -1
I tried mapping line to 0 if it’s -1 for testing, and it worked.
DeityLamb/dap-types@d8419e3
Video
2025-08-28_12-37-27.mp4
Related issues zed-extensions/java#74
Zed Version and System Specs
Zed: v0.200.5 (Zed)
OS: Linux Wayland void unknown
Memory: 14.9 GiB
Architecture: x86_64
GPU: AMD Radeon Graphics (RADV REMBRANDT) || radv || Mesa 25.1.3