dereferencing null
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Mon Mar 5 15:37:32 PST 2012
On 3/5/12 2:31 PM, Steven Schveighoffer wrote:
> On Mon, 05 Mar 2012 05:38:20 -0500, Walter Bright
> <newshound2 at digitalmars.com> wrote:
>> I don't get this at all. I find it trivial to run the program with a
>> debugger:
>>
>> gdb foo
>> >run
>>
>> that's it.
>
> This argument continually irks me to no end. It seems like the trusty
> (rusty?) sword you always pull out when defending the current behavior,
> but it falls flat on its face when a programmer is faced with a Seg
> Fault that has occurred on a program that was running for several
> days/weeks, possibly not in his development environment, and now he must
> run it via a debugger to wait another several days/weeks to (hopefully)
> get the same error.
>
> Please stop using this argument, it's only valid on trivial bugs that
> crash immediately during development.
I second that.
Andrei
More information about the Digitalmars-d
mailing list