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.
Habilidad de depuración en Zig. Úselo al depurar programas Zig con GDB o LLDB, interpretar pánicos en tiempo de ejecución de Zig, usar std.debug.print para rastrear, configurar compilaciones de depuración o depurar programas Zig en VS Code. Se activa ante consultas sobre depuración de Zig, Zig pánicos, zig gdb, zig lldb, std.debug.print, seguimientos de pila de Zig o seguimientos de devolución de errores de Zig. Fuente: mohitmishra786/low-level-dev-skills.