debugger blues

Vladimir Panteleev via Digitalmars-d digitalmars-d at puremagic.com
Fri Mar 25 02:30:37 PDT 2016


On Friday, 25 March 2016 at 09:12:56 UTC, cy wrote:
>> What compiler flags did you use?
>
> make -f posix install

I meant, which flags you used to build your program.

>>> * catching null pointer errors earlier, instead of waiting 
>>> until you 1) call the class function and 2) the function 
>>> accesses a member.
>>
>> Doesn't this already happen if you compile without -release?
>
> Apparantly not, because I've never compiled without -debug, and 
> I infrequently get "null this" errors after having called the 
> function...

"null this" is the error I'm talking about. It is coming from the 
object invariant. It's not caused by a segmentation fault caused 
by accessing a member.



More information about the Digitalmars-d mailing list