我使用 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?
drwtsn32.exe -i 将 Dr. Watson 设置为默认系统调试器.Watson 博士将生成核心转储并静默退出.(请参阅此 Microsoft 知识库文章:http://support.microsoft.com/kb/q121434/.) 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模板网!
为什么两个函数的地址相同?Why do two functions have the same address?(为什么两个函数的地址相同?)
为什么 std::function 的初始化程序必须是可复制构Why the initializer of std::function has to be CopyConstructible?(为什么 std::function 的初始化程序必须是可复制构造的?)
混合模板与多态性mixing templates with polymorphism(混合模板与多态性)
我什么时候应该使用关键字“typename"?使用模When should I use the keyword quot;typenamequot; when using templates(我什么时候应该使用关键字“typename?使用模板时)
依赖名称解析命名空间 std/标准库Dependent name resolution amp; namespace std / Standard Library(依赖名称解析命名空间 std/标准库)
gcc 可以编译可变参数模板,而 clang 不能gcc can compile a variadic template while clang cannot(gcc 可以编译可变参数模板,而 clang 不能)