debug public release private
Jonathan M Davis via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jul 25 02:04:31 PDT 2016
On Monday, July 25, 2016 04:58:55 Gorge Jingale via Digitalmars-d-learn wrote:
> debug mixin("public"); else mixin("private");
>
> Doesn't work.
>
> It's nice to have public members when debugging because they show
> up in the debugger and one can access internals for checking. One
> can enable per line using debug but it requires lots of duplicate
> code.
>
>
> Is there any easy way to do this?
What kind of deubgger cares about public or private? I don't think that I've
ever seen a debugger that did. Debuggers normally give you access to
everything.
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list