如何使用Microsoft应用程序验证器 [英] How to use Microsoft Application Verifier
问题描述
使用C ++并在今天的demo中发现了我正在遭受损坏的堆(但只在重要的场合!)。我在这里找到几个帖子,并决定下载应用程序验证器和调试工具。我目前正在运行Visual Studio 2010.
Using C++ and discovered today during a demo that I'm suffering from a corrupted heap (but only on important occasions!!). I found a few posts here on SO and decided to download Application Verifier and Debugging tool. I am current running Visual Studio 2010.
现在我剩下一个安装的调试工具,我得到一个名为Windows Kits的文件夹。在文件夹中有一个名为WinDbg的应用程序,我试图打开我的应用程序并运行它。它工作罚款,但我不能得到任何有关我的堆腐败的信息。然后我安装的验证器只剩下一个头文件和一个.dll文件,我不知道该怎么办。
So, now I'm left with an installtion of the the debugging tool where I get a folder called Windows Kits. In the folder I have an app called WinDbg where I tried to open my app and run it. It worked fined but I was not able to get any info about my heap corruption. Then I installed the verifier which only left me with a header file and a .dll file which I dont know what to do with.
所以,任何人都可以告诉我如何使用这个工具,使我不必再忍受这样的尴尬的时刻?在论坛中搜索,因为我甚至不知道如何打开验证器,我真的失去了当我阅读说明如何使用它(从2009年)
So, could anyone please tell me how to use this tool so that I dont have to suffer anymore embarrassing moments like these? Been searching in forums and since I dont even know how to open the verifier, I'm truly lost when I read the instructions how to use it (from 2009)
推荐答案
App Verifier将安装一个 AppVerif.EXE
可执行文件。运行它,并告诉它来验证你的应用程序。然后在调试器(WinDBG或IDE)中运行应用程序。
App Verifier will install a AppVerif.EXE
executable. Run it, and tell it to verify your application. Then run your application in a debugger (either WinDBG or your IDE).
这篇关于如何使用Microsoft应用程序验证器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!