本文介绍了VS2015尝试运行应用程序时出错:指针无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当您调试Visual Studio 2015解决方案时,您会看到此错误消息:

When you debug a Visual Studio 2015 solution you see this error message:


推荐答案

使用Jeremy的建议我查看了活动日志(有关活动日志的信息,请参阅此处) a href =https://msdn.microsoft.com/en-us/library/bb166359.aspx =nofollow> https://msdn.microsoft.com/en-us/library/bb166359.aspx

Using Jeremy's advice I reviewed the Activity Log (See here for info about the Activity Log) https://msdn.microsoft.com/en-us/library/bb166359.aspx

,并在堆栈跟踪中发现此错误

and found this error in the stack trace

....Access to the path 'C:\ProgramData\Microsoft Visual Studio\14.0\TraceDebugging\' is denied.]:...

目录不存在,所以我创建了它,之后可以调试项目而没有错误。

The directory did not exist so I created it and was thereafter able to debug the project without the error.

这篇关于VS2015尝试运行应用程序时出错:指针无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-29 20:19
查看更多