【发布时间】:2016-04-28 05:26:24
【问题描述】:
我对使用Microsoft::VisualStudio::CppUnitTestFramework 编写的 C++ dll 进行了一些单元测试。当我运行测试时它崩溃并且在 Test Explorer 我看到以下信息
Result Message: Exception Code: C00000FD
Result StackTrace:
at _chkstk() in f:\dd\vctools\crt\crtw32\startup\i386\chkstk.asm:line 99
at SSFFCAddInMultipleAuth::SSFMultipleAuthLimitManagerTests::TestCantApplyLimitToInactiveAccount() in ....cpp:line 88
当我在调试或发布中运行和使用测试代码时,代码运行良好。
根据这个link,当我使用 Test Explorer
运行代码时,堆栈空间可能会有所不同提到的一种可能的解决方案是更改注册表项以增加堆栈空间,但我在 Win10/VS2013 上找不到它
有什么想法吗?
【问题讨论】:
标签: c++ unit-testing visual-studio-2013