[Issue 23423] New: Feature Request: version(D_DebugInfo)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Oct 17 10:59:51 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23423
Issue ID: 23423
Summary: Feature Request: version(D_DebugInfo)
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: aliloko at gmail.com
Hello. I'd like to have:
version (D_DebugInfo)
{}
else
{
version = enableFeatureThatIsAnnoyingWhenDebugging;
}
Is there a way to know if debug info is being emitted when compiling?
"debug" is not cutting it because sometimes you really need to debug with or
without -debug, and with or without -O.
I would want -g.
--
More information about the Digitalmars-d-bugs
mailing list