Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
November 11, 2022 [Issue 23423] Feature Request: version(D_DebugInfo) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23423 Dennis <dkorpel@live.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dkorpel@live.nl Severity|minor |enhancement --- Comment #1 from Dennis <dkorpel@live.nl> --- There's now precedence for version identifiers based on codegen flags with `D_Optimized`: https://github.com/dlang/dmd/pull/14245 Still, I would like to have solid rationale before adding another. What kind of feature is annoying when debugging? Also, can't you pass `-g -version=disableFeatureThatIsAnnoyingWhenDebugging`? -- |
November 11, 2022 [Issue 23423] Feature Request: version(D_DebugInfo) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23423 --- Comment #2 from ponce <aliloko@gmail.com> --- Dplug software has a mouse hook that is active to allow using the mouse wheel when dragging outside of the window. Others OSes can do that, but Windows needs a mouse hook. When debugging, this is extra slow, but in normal times it is invisible. Hence, for practicality it's better to disable this. - D_Optimized is obviously not the same as D_Optimized, it's frequent to want to debug optimized builds - I don't see why -g would one of the only flags you can detect. -g is the closest flag to "I will debug this interactively". > Also, can't you pass `-g -version=disableFeatureThatIsAnnoyingWhenDebugging`? No. That doesn't solve the problem, as we use dub, and version identifiers are set by configurations not build types. -- |
November 11, 2022 [Issue 23423] Feature Request: version(D_DebugInfo) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23423 --- Comment #3 from ponce <aliloko@gmail.com> --- > D_Optimized is obviously not the same as D_Optimized Corerection not the same as D_DebugInfo* -- |
November 11, 2022 [Issue 23423] Feature Request: version(D_DebugInfo) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23423 --- Comment #4 from ponce <aliloko@gmail.com> --- > you can detect you couldn't* detect -- |
November 11, 2022 [Issue 23423] Feature Request: version(D_DebugInfo) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23423 apham <apz28@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |apz28@hotmail.com --- Comment #5 from apham <apz28@hotmail.com> --- Why D don't create corresponding versions for all simple flags? Some sample flags DMD -g -debug -inline will have following defined versions, Dflag can be shorten to Df Dflag_g Dflag_debug Dflag_inline so usage is version(Dflag_g) version(Dflag_debug) version(Dflag_inline) -- |
November 13, 2022 [Issue 23423] Feature Request: version(D_DebugInfo) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23423 --- Comment #6 from ponce <aliloko@gmail.com> --- That's not what this bug is about, it's just about -g -- |
December 17, 2022 [Issue 23423] Feature Request: version(D_DebugInfo) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23423 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P4 -- |
December 13 [Issue 23423] Feature Request: version(D_DebugInfo) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23423 --- Comment #7 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/20168 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation