[Issue 13543] std.file.FileException has useless __FILE__ and __LINE__ arguments tacked on

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Sep 28 14:47:49 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13543

Stewart Gordon <smjg at iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com

--- Comment #14 from Stewart Gordon <smjg at iname.com> ---
(In reply to Brad Anderson from comment #12)
> Generally speaking, the __FILE__/__LINE__ trick sounds like a perfect
> example of something you put in a Debug build and leave out of a Release
> build. It can be genuinely useful during development while the program's
> logic is still being hammered out but it's often not useful or desired to
> show this information to end users.

We already have this facility.  It's called a stack trace.

--


More information about the Digitalmars-d-bugs mailing list