Saturday, 24 August 2013

Disable garbage collection in C# for debugging?

Disable garbage collection in C# for debugging?

Is it possible to completely turn off garbage collection in C#? I'm
debugging some hairy managed/native interop memory errors and I'd like to
quickly rule out the possibility that GC is freeing native objects that I
still need.

No comments:

Post a Comment