[Issue 17675] New: add symbol lookup information in debug info
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Jul 23 00:27:35 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17675
Issue ID: 17675
Summary: add symbol lookup information in debug info
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: symdeb
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: r.sagitario at gmx.de
It's currently impossible for a debugger to make sense of globals (especially
if imported from other modules):
module a;
import b;
void main()
{
glob = 3;
}
///////
module b;
int glob;
///////
module c;
int glob;
There is no information available to unambiguously show "glob" while stepping
through main. It would be nice if the compiler would emit symbol lookup
information for the import.
IIRC GDC already does this.
--
More information about the Digitalmars-d-bugs
mailing list