debugging GC issues?

WebFreak001 d.forum at webfreak.org
Fri Jun 25 11:22:16 UTC 2021


On Friday, 18 June 2021 at 17:45:25 UTC, WebFreak001 wrote:
> [...]

so it seems the data that later gets corrupted was returned by 
appender!string

Calling GC.addRoot right when creating the data causes the data 
not to go corrupt, so it seems that the GC thinks the data is no 
longer accessible.

This might seem like a more precise question: is it possible to 
debug when the GC thinks data is no longer accessible?


More information about the Digitalmars-d mailing list