代码之家  ›  专栏  ›  技术社区  ›  John Mcdock

运行Visual Studio时的崩溃堆栈跟踪是什么?

  •  3
  • John Mcdock  · 技术社区  · 7 年前

    我正在使用Visual Studio 2013。当我试图打开堆栈跟踪时,它会崩溃。我不确定出了什么问题。

    我试着在安全模式下运行VS,我删除了所有的*。锁文件,我删除了所有的*。用户文件-他们没有帮助。谢谢

    Unexpected exception Buffer cannot be null.
Parameter name: buffer  
      at Microsoft.VisualStudio.Shell.ThreadHelper.InvokeOnUIThread(InvokableBase invokable)

      at Microsoft.VisualStudio.Shell.ThreadHelper.Invoke[TResult](Func`1 method)
 
      at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.AvatarCache..ctor(AvatarSize size, Byte[] value, Boolean isGenerated, Logger logger)

      at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.ProfileCache..ctor(Profile profile, Guid serverId, Uri profileUri, String emailAddress, Logger logger)
   
      at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Connector.<ConnectAsync>d__1.MoveNext()
      
--- End of stack trace from previous location where exception was thrown ---
    
      
  
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 
      at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.IdeUserSession.<ConnectAndInitializeSessionAsync>d__a.MoveNext()

      --- End of stack trace from previous location where exception was thrown ---
  
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 
      at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.<ConnectAsyncImpl>d__17.MoveNext()
--- 
      End of stack trace from previous location where exception was thrown ---

      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

      at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.<ConnectAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---

      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

      at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.&lt;PollConnectAsync&gt;d__22.MoveNext()</description>
    
    1 回复  |  直到 7 年前
        1
  •  3
  •   nazarl    7 年前

    我也是!4小时前,我也出现了同样的现象。 我在尝试下面的命令时取得了进展。 一旦我再次登录,我就必须使用它。

    C: \程序文件(x86)\Microsoft Visual Studio 12.0\Common7\IDE>devenv。exe/ResetUserData