how to debug memory errors

Era Scarecrow via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Nov 6 19:57:26 PST 2016


On Monday, 7 November 2016 at 02:22:35 UTC, Steven Schveighoffer 
wrote:
> OP: it's not legal to destroy or even access GC allocated 
> members in a destructor. The GC may have already destroyed that 
> data. I would recommend printing the stack trace when you get 
> the exception, and figure out where the culprit is.

  Err.... that makes no sense... If that's the case why have a 
destructor at all?


More information about the Digitalmars-d-learn mailing list