迁移到VS 2015后调试断言失败

时间:2015-12-17 08:05:07

标签: visual-studio debugging migration c++-cli

我将我的工作项目从VS2013迁移到VS2015 在应用程序启动之前,main之前,我刚刚收到错误 我能够编译但是...在应用程序启动之前调试时我收到:

Exception thrown at 0x77a20126 in opctcp_v1.exe: 0xC0000005:

Access violation reading location 0x6f865e77.
Debug Assertion Failed!

Program: D:\ (...) \Debug\opctcp_v1.exe
File: minkernel\crts\ucrt\src\appcrt\heap\debug_heap.cpp
Line: 1037

Expression: _CrtIsValidHeapPointer(block)

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

我正在寻找谷歌的答案。我已经使用VS2015.1

你有什么想法,如何让它运行?任何项目选项?或者只是VS2015的错误? 编辑1:
在VS2013下,该项目仍可正常运行/调试 编辑2:
我知道如何调试。 问题是[开始调试]导致此错误意味着它甚至无法达到函数' int main(array ^ args)' !即可。整个计划没有任何改变 编辑3:
Screenshot 1 编辑4:
Screenshot 2

0 个答案:

没有答案