I’m new to zig. Trying to figure how to change the debug symbol format for zig build, it is giving me “.pdb”, I don’t think I can use that format for gdb debugger on windows.
Need some help on how to change it, and what format is available. (or its not supported yet).
Try using lldb or WinDbg or any other debugger except gdb.
I know that this is not the answer that you expect. But PDB format is used exclusively in windows and gdb hackers do not implement PDB for their own reasons.
You can also use Visual Studio as a debugger. When it starts click “Open a project or solution” and select the “.exe” file you want to debug.
There’s also RemedyBG (RemedyBG by remedybg). This is a lightweight “handmade” debugger for windows. I use it when I don’t want to wait forever for Visual Studio to start