Detect uninitialized class var access

Adam D Ruppe destructionator at gmail.com
Sat Sep 24 13:28:32 UTC 2022


On Saturday, 24 September 2022 at 13:17:19 UTC, rassoc wrote:
> just crashes with `Error: program killed by signal 11` on linux 
> and nothing else.

gdb --args ./your_program

and then it will tell you all the details you want to know about 
when this happens.

strangly sometimes adding the -O option will cause dmd to catch 
simple cases at compile time but gdb is the general solution to 
track these down.


More information about the Digitalmars-d-learn mailing list