• <bdo id='HnUFT'></bdo><ul id='HnUFT'></ul>
  • <i id='HnUFT'><tr id='HnUFT'><dt id='HnUFT'><q id='HnUFT'><span id='HnUFT'><b id='HnUFT'><form id='HnUFT'><ins id='HnUFT'></ins><ul id='HnUFT'></ul><sub id='HnUFT'></sub></form><legend id='HnUFT'></legend><bdo id='HnUFT'><pre id='HnUFT'><center id='HnUFT'></center></pre></bdo></b><th id='HnUFT'></th></span></q></dt></tr></i><div id='HnUFT'><tfoot id='HnUFT'></tfoot><dl id='HnUFT'><fieldset id='HnUFT'></fieldset></dl></div>

    1. <tfoot id='HnUFT'></tfoot>

      <small id='HnUFT'></small><noframes id='HnUFT'>

    2. <legend id='HnUFT'><style id='HnUFT'><dir id='HnUFT'><q id='HnUFT'></q></dir></style></legend>

      1. “应用程序错误"是否可以解决?对话框被禁用

        时间:2023-05-22
            <bdo id='NVH7j'></bdo><ul id='NVH7j'></ul>

              1. <small id='NVH7j'></small><noframes id='NVH7j'>

                <i id='NVH7j'><tr id='NVH7j'><dt id='NVH7j'><q id='NVH7j'><span id='NVH7j'><b id='NVH7j'><form id='NVH7j'><ins id='NVH7j'></ins><ul id='NVH7j'></ul><sub id='NVH7j'></sub></form><legend id='NVH7j'></legend><bdo id='NVH7j'><pre id='NVH7j'><center id='NVH7j'></center></pre></bdo></b><th id='NVH7j'></th></span></q></dt></tr></i><div id='NVH7j'><tfoot id='NVH7j'></tfoot><dl id='NVH7j'><fieldset id='NVH7j'></fieldset></dl></div>
                  <tbody id='NVH7j'></tbody>

                  <tfoot id='NVH7j'></tfoot>

                  <legend id='NVH7j'><style id='NVH7j'><dir id='NVH7j'><q id='NVH7j'></q></dir></style></legend>
                  本文介绍了“应用程序错误"是否可以解决?对话框被禁用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我使用 Hudson 作为持续集成服务器来测试 C/C++ 代码.不幸的是,我在某处有一个导致内存损坏的错误,因此在某些 Windows 机器上,我有时会收到一个应用程序错误"对话框,说明一条指令引用了无法读取的内存.弹出这个对话框,基本挂了试运行,因为需要人工干预.

                  I am using Hudson as a continuous integration server to test C/C++ code. Unfortunatly, I have a bug somewhere that causes memory corruption, so on some Windows machines I will sometimes get a "Application Error" dialog box explaining that an instruction referenced memory that could not be read. This dialog box pops up and basically hangs the test run, as it requires manual intervention.

                  有没有办法阻止这个对话框出现,这样测试运行就会失败并在 Hudson 中报告这样的结果?

                  Is there a way to prevent this dialog box from appearing, so that the test run simply fails and is reported as such in Hudson?

                  是否可以自动生成小型转储而不是显示对话框?

                  Is it possible to automatically generate a minidump instead of showing the dialog?

                  推荐答案

                  1. 按照 Gently 先生的建议,使用禁用错误报告".另请参阅这篇 PC World 文章.
                  2. 如果您的构建机器上有 MS Visual Studio,它会捕获应用程序错误并弹出一个对话框.要禁用这些对话框(以及 Visual Studio 的即时调试功能),请运行命令 drwtsn32.exe -i 将 Dr. Watson 设置为默认系统调试器.Watson 博士将生成核心转储并静默退出.(请参阅此 Microsoft 知识库文章:http://support.microsoft.com/kb/q121434/.)
                  1. Use "Disable error reporting", as Mr. Gently suggests. See also this PC World article.
                  2. If you happen to have MS Visual Studio on your build machine, it will catch Application Errors and pop up a dialog box. To disable these dialogs (and also the Just-In-Time Debugging feature of Visual Studio), run the command drwtsn32.exe -i to set Dr. Watson as the default system debugger. Dr. Watson will generate a core dump and silently exit. (See this Microsoft Knowledge Base article: http://support.microsoft.com/kb/q121434/.)

                  这篇关于“应用程序错误"是否可以解决?对话框被禁用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:自动将进入/退出功能日志添加到项目 下一篇:Win32下堆损坏;如何定位?

                  相关文章

                  最新文章

                • <small id='9JHxk'></small><noframes id='9JHxk'>

                  <legend id='9JHxk'><style id='9JHxk'><dir id='9JHxk'><q id='9JHxk'></q></dir></style></legend>

                  <i id='9JHxk'><tr id='9JHxk'><dt id='9JHxk'><q id='9JHxk'><span id='9JHxk'><b id='9JHxk'><form id='9JHxk'><ins id='9JHxk'></ins><ul id='9JHxk'></ul><sub id='9JHxk'></sub></form><legend id='9JHxk'></legend><bdo id='9JHxk'><pre id='9JHxk'><center id='9JHxk'></center></pre></bdo></b><th id='9JHxk'></th></span></q></dt></tr></i><div id='9JHxk'><tfoot id='9JHxk'></tfoot><dl id='9JHxk'><fieldset id='9JHxk'></fieldset></dl></div>
                  <tfoot id='9JHxk'></tfoot>

                      • <bdo id='9JHxk'></bdo><ul id='9JHxk'></ul>