Intellitrace VS 2010 Ultimate的奇怪行为 [英] Strange behavior with Intellitrace VS 2010 Ultimate

查看:68
本文介绍了Intellitrace VS 2010 Ultimate的奇怪行为的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我正在使用VS 2010 Ultimate.
在上一期中,我使用Intellitrace启用了事件和堆栈调用而没有问题,今天,当我尝试同时执行事件和堆栈调用集合来执行我的应用程序时,VS给了我这个错误:


Hi to all,
i'm using the VS 2010 Ultimate.
In the last period i've used the Intellitrace with events and stack calls enabled without problems, today when i try to execute my application with both collection of events and stack calls the VS gives me this error:


未管理System.AccessViolationException
  HResult = -2147467261
  Message =尝试读取或写入受保护的内存.这通常表明其他内存已损坏.
 来源= mscorlib
  StackTrace:
        in System.AppDomain._nExecuteAssembly(RuntimeAssembly程序集,String []参数)
        in System.AppDomain.nExecuteAssembly(RuntimeAssembly程序集,String []参数)
        in System.AppDomain.ExecuteAssembly(String assemblyFile,Evidence assemblySecurity,String [] args)
        in Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
        in System.Threading.ThreadHelper.ThreadStart_Context(对象状态)
        in System.Threading.ExecutionContext.RunInternal(ExecutionContext执行上下文,ContextCallback回调,对象状态,布尔值saveSyncCtx)
        in System.Threading.ExecutionContext.Run(ExecutionContext执行上下文,ContextCallback回调,对象状态,布尔值saveSyncCtx)
        in System.Threading.ExecutionContext.Run(ExecutionContext执行上下文,ContextCallback回调,对象状态)
        in System.Threading.ThreadHelper.ThreadStart()
  InnerException: 

System.AccessViolationException not managed
  HResult=-2147467261
  Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
  Source=mscorlib
  StackTrace:
       in System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       in System.AppDomain.nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       in System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       in Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       in System.Threading.ThreadHelper.ThreadStart()
  InnerException: 

下面是错误的快照:


推荐答案

_Genko _,

Hi _Genko_,

如果在其他VS2010机器上进行测试,结果如何?

If you test it in other VS2010 machine, how about the result?

可能是内存问题,请重新启动计算机,然后关闭Windows中的所有第三方进程或工具,然后再次进行测试.

Maybe it is a memory issue, please restart your machine, and then close all third party processes or tools in your windows, re-test it again.

最好的问候,

Jack


这篇关于Intellitrace VS 2010 Ultimate的奇怪行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆