Debug support for Zig #36285
dvmason
started this conversation in
Language Support
Replies: 1 comment 1 reply
-
|
Seeing that Rust and Zig both are (at least somewhat) supported by {
"label": "fib: Debug native binary",
"cwd": "$ZED_WORKTREE_ROOT",
"program": "$ZED_WORKTREE_ROOT/zig/zig-out/bin/fib",
"sourceLanguages": ["zig"],
"request": "launch",
"adapter": "CodeLLDB"
},It's not generalized, but it's a start. First problem is the But when I rerun the code (either from the rerun icon in the debug panel, or from f4) I get the same result. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I really like Zed, and the debugger looks awesome, but I'm using Zig, for which there doesn't appear to be support.
According to https://eliasdorneles.com/til/posts/customizing-neovim-debugging-highlight-zig-debug-w-codelldb/ they were able to use codelldb and NeoVIM's DAP UI to debug Zig. It would be amazing if that worked out of the box with Zed.
Beta Was this translation helpful? Give feedback.
All reactions