Program logic bugs vs input/environmental errors

Sean Kelly via Digitalmars-d digitalmars-d at puremagic.com
Sun Sep 28 12:34:27 PDT 2014


On Sunday, 28 September 2014 at 17:36:14 UTC, Walter Bright wrote:
> On 9/28/2014 2:28 AM, bearophile wrote:
>>> And for exceptions I agree completely with your arguments and 
>>> I think that
>>> there is no need for stack.
>> I think Walter is not suggesting to remove the stack trace for 
>> exceptions.
>
> I suggest removal of stack trace for exceptions, but leaving 
> them in for asserts.
>
> Asserts are a deliberately designed debugging tool. Exceptions 
> are not.

Fair.  So we generate traces for Errors but not Exceptions.


More information about the Digitalmars-d mailing list