开发者

What tools are available to detect heap corruption in .NET/C# program?

开发者 https://www.devze.com 2023-04-06 01:34 出处:网络
I know that I can use WinDbg+PageHeap+ApplicationVer开发者_如何学JAVAifier - Microsoft tools. I read there are many tools available for C++ and wonder if there is something similar exists for C#?Thes

I know that I can use WinDbg+PageHeap+ApplicationVer开发者_如何学JAVAifier - Microsoft tools.

I read there are many tools available for C++ and wonder if there is something similar exists for C#?


These are the kind of tools you use to troubleshoot mis-behaving native code. Access violations, heap corruption, resource leaks, that sort of thing. That just doesn't happen in pure managed code by virtue of the concept of safe code and the garbage collector. If you have a dependency on native code in your managed project that misbehaves that way (Fatal Execution Engine Error for example) then you still use the same tools. Diagnosing it is never easy.

0

精彩评论

暂无评论...
验证码 换一张
取 消