什么是 zig-debugging?
Zig 调试技巧。在使用 GDB 或 LLDB 调试 Zig 程序、解释 Zig 运行时恐慌、使用 std.debug.print 进行跟踪、配置调试版本或在 VS Code 中调试 Zig 程序时使用。在有关调试 Zig、Zig 恐慌、zig gdb、zig lldb、std.debug.print、Zig 堆栈跟踪或 Zig 错误返回跟踪的查询时激活。 来源:mohitmishra786/low-level-dev-skills。
Zig 调试技巧。在使用 GDB 或 LLDB 调试 Zig 程序、解释 Zig 运行时恐慌、使用 std.debug.print 进行跟踪、配置调试版本或在 VS Code 中调试 Zig 程序时使用。在有关调试 Zig、Zig 恐慌、zig gdb、zig lldb、std.debug.print、Zig 堆栈跟踪或 Zig 错误返回跟踪的查询时激活。
通过命令行快速安装 zig-debugging AI 技能到你的开发环境
来源:mohitmishra786/low-level-dev-skills。
Guide agents through debugging Zig programs: GDB/LLDB sessions, interpreting Zig panics and error return traces, std.debug.print logging, debug build configuration, and IDE integration.
| index out of bounds: index N, len M | Slice/array OOB access | | integer overflow | Arithmetic overflow in Debug/ReleaseSafe | | attempt to unwrap null | Optional access .? on null | | reached unreachable code | unreachable executed | | casting... | Invalid enum tag or union access | | integer cast truncated bits | @intCast with value out of range |
The trace shows the exact try chain where the error propagated. Read bottom-up: main → run → openConfig.
Zig 调试技巧。在使用 GDB 或 LLDB 调试 Zig 程序、解释 Zig 运行时恐慌、使用 std.debug.print 进行跟踪、配置调试版本或在 VS Code 中调试 Zig 程序时使用。在有关调试 Zig、Zig 恐慌、zig gdb、zig lldb、std.debug.print、Zig 堆栈跟踪或 Zig 错误返回跟踪的查询时激活。 来源:mohitmishra786/low-level-dev-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/mohitmishra786/low-level-dev-skills --skill zig-debuggingZig 调试技巧。在使用 GDB 或 LLDB 调试 Zig 程序、解释 Zig 运行时恐慌、使用 std.debug.print 进行跟踪、配置调试版本或在 VS Code 中调试 Zig 程序时使用。在有关调试 Zig、Zig 恐慌、zig gdb、zig lldb、std.debug.print、Zig 堆栈跟踪或 Zig 错误返回跟踪的查询时激活。 来源:mohitmishra786/low-level-dev-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/mohitmishra786/low-level-dev-skills --skill zig-debugging 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/mohitmishra786/low-level-dev-skills