debug = x overrides command line

Gary Willoughby via Digitalmars-d digitalmars-d at puremagic.com
Tue Oct 21 09:02:30 PDT 2014


On Tuesday, 21 October 2014 at 15:45:55 UTC, Steven Schveighoffer 
wrote:
> Currently, if you write something like this:
>
> debug = x;

In code? Like this:

void main()
{
     debug = x;

     // now in debug mode even though not specified on the CLI?
}

If that's true, that's pretty scary. What if it's hidden in a 
module somewhere?


More information about the Digitalmars-d mailing list