#How to debug Zig with a debugger
1 messages · Page 1 of 1 (latest)
use .ptr
The lldb pretty printers support slices
and allow frame variable slice[5].field just fine
the gdb pretty printers look like they have support, but I haven't used them
is there any update on this? I'm wondering if zig has a sanctioned debugger or one that is known to work well
gdb or lldb with the pretty printers from the link jacobly posted
I believe most of the core team uses lldb now
So the lldb pretty printers are more up to date and complete
cool thanks
if you're on windows, windbg preview seems to display slices properly in the watch window
visual studio and vscode don't for whatever reason 🤷