Visual studio 2010 尝试停止调试时,Visual studio 2010将停止工作

Visual studio 2010 尝试停止调试时,Visual studio 2010将停止工作,visual-studio-2010,Visual Studio 2010,当我试图停止visual studio 2010 premium中的调试会话时(当然,单击蓝色方形按钮),visual studio崩溃。以下异常记录在事件日志中。有人知道这里出了什么问题吗 我已经使用这个visual studio安装超过6个月了。问题几天前开始出现。这可能是由于某些windows更新造成的吗 应用程序:devenv.exe 框架版本:v4.0.30319 描述:由于未处理的异常,进程已终止。 异常信息:System.AccessViolationException 堆栈: 位

当我试图停止visual studio 2010 premium中的调试会话时(当然,单击蓝色方形按钮),visual studio崩溃。以下异常记录在事件日志中。有人知道这里出了什么问题吗

我已经使用这个visual studio安装超过6个月了。问题几天前开始出现。这可能是由于某些windows更新造成的吗

应用程序:devenv.exe
框架版本:v4.0.30319
描述:由于未处理的异常,进程已终止。
异常信息:System.AccessViolationException
堆栈:
位于Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource.Invoke(System.String、System.Object、System.objectbyref)
位于Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Invoke(System.String、System.Object、System.Object ByRef)
在Microsoft.VisualStudio.PlatformUI.VsCommand.Execute(System.Object)上
位于MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource,布尔值)
在System.Windows.Controls.Primitives.ButtonBase.OnClick()中
在System.Windows.Controls.Button.OnClick()中
位于System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs)
位于System.Windows.UIElement.OnMouseLeftButtonUpThunk(System.Object、System.Windows.Input.MouseButtonEventArgs)
在System.Windows.Input.MousebuttoneEventArgs.InvokeeEventHandler(System.Delegate,System.Object)中
在System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate,System.Object)中
位于System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object,System.Windows.RoutedEventTargets)
在System.Windows.EventRoute.InvokeHandlersImpl(System.Object,System.Windows.RoutedEventArgs,布尔值)
位于System.Windows.UIElement.ReRaiseEvents(System.Windows.DependencyObject、System.Windows.RoutedEventArgs、System.Windows.RoutedEvent)
位于System.Windows.UIElement.OnMouseUpThunk(System.Object、System.Windows.Input.MouseButtonEventArgs)
在System.Windows.Input.MousebuttoneEventArgs.InvokeeEventHandler(System.Delegate,System.Object)中
在System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate,System.Object)中
位于System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object,System.Windows.RoutedEventTargets)
在System.Windows.EventRoute.InvokeHandlersImpl(System.Object,System.Windows.RoutedEventArgs,布尔值)
位于System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject、System.Windows.RoutedEventTargets)
位于System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
位于System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs,布尔值)
在System.Windows.Input.InputManager.ProcessStaginArea()中
位于System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs)
位于System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport)
位于System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr、System.Windows.Input.InputMode、Int32、System.Windows.Input.RawMouseActions、Int32、Int32)
在System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr,MS.Internal.Interop.WindowMessage,IntPtr,IntPtr,Boolean ByRef)中
在System.Windows.Interop.HwndSource.InputFilterMessage中(IntPtr、Int32、IntPtr、IntPtr、Boolean ByRef)
位于MS.Win32.hwndwapper.WndProc(IntPtr、Int32、IntPtr、IntPtr、Boolean ByRef)
位于MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
位于System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate、System.Object、Int32)
位于MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object、System.Delegate、System.Object、Int32、System.Delegate)
位于System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriority,System.TimeSpan,System.Delegate,System.Object,Int32)

在MS.Win32.HwndSubclass.SubclassWndProc(IntPtr,Int32,IntPtr,IntPtr)

中,您可能没有为当前登录用户分配足够的权限。该错误是因为vs2010正在尝试访问当前登录用户不允许的进程并对其执行操作


另一个可能的问题是,其他进程正在访问vs2010运行的当前调试进程。因此,进程正在使用中,而您的IDE无法终止它

我已经编辑了问题的细节。我已经使用这个visual studio安装超过6个月了。问题几天前开始出现。这可能是因为某些windows更新吗?@Suhas你最近更新过你的windows吗?你有什么版本的windows?我最近更新了windows。这会影响我的visual studio吗?我正在使用windows7@Farzin如果答案真的解决了我的问题,我会非常乐意接受。不过,我不赞成好的答案