-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)O-windowsOperating system: WindowsOperating system: Windows
Description
Lately, it has been impossible to step through Rust source line by line, because GDB cannot find line number debug info.
As far as I can tell, the issue is in LLVM, but only if DWARF-3 version is used. DWARF-4 appears to work fine, so the workaround is to compile with -g -C llvm-args="-dwarf-version 4"
Metadata
Metadata
Assignees
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)O-windowsOperating system: WindowsOperating system: Windows