https://issues.dlang.org/show_bug.cgi?id=22590
--- Comment #7 from Iain Buclaw <ibuc...@gdcproject.org> --- @Walter this looks like it might possibly be the culprit. https://github.com/dlang/dmd/blob/1c66d4303d298136a27b0ce4acd1f20ea31fe124/src/dmd/backend/dwarfdbginf.d#L1600-L1602 --- if (config.objfmt == OBJ_ELF) if (!sd.SDsym) // gdb ignores line number data without a DW_AT_name continue; --- Is SDsym not being set for SCstatic functions? --