1

My Visual Studio 2015 Debuggen (mit Update3) abgestürzt, als ich versuchte, den Quellcode zu bearbeiten, nachdem eine Debug gestoppt. (Es kommt auch auf C# WinForm, WPF und Console Projects)
Es war alles in Ordnung vor einem Monat ......devenv.exe Absturz nach

ich einen System.AccessViolationException für den Absturz bekam.
Und fand ich etwas seltsam, wenn das Debuggen:

  • werden keine Variablen in meinem Programm bekommen, auch in Direkt-Fenster
  • Aber ich kann noch andere Informationen (wie Gewinde, stapelt ...)
  • Diagnose-tools funktionieren nicht
  • Nach Stop-debug, der <program> .vshost.exe noch am leben

ich habe bereits rep gelüftet Visual Studio, aber der Fehler ist immer noch aufgetreten.


Betriebssystem: Windows 7 x64
System.AccessViolationException unhandled Nachricht: Geben Sie 'System.AccessViolationException' nicht behandelte Ausnahme in Microsoft.VisualStudio.LanguageServices.dll

aufgetreten Ausnahme

Auf System.AccessViolationException geworfen : „ Microsoft.VisualStudio.LanguageServices.dll Microsoft.VisualStudio.LanguageServices.Implementation.EditAndContinue.VsENCRebuildableProjectImpl.OnReadOnlyDocumentEditAttempt (Microsoft.C‚Microsoft.VisualStudio.LanguageServices.dll odeAnalysis.DocumentId DocumentID, Microsoft.CodeAnalysis.EditAndContinue.SessionReadOnlyReason sessionReason, Microsoft.CodeAnalysis.EditAndContinue.ProjectReadOnlyReason projectReason) Unbekannte Microsoft.VisualStudio.LanguageServices.dll! Microsoft.VisualStudio.LanguageServices.Implementation.EditAndContinue.VsENCRebuildableProjectImpl.OnEdit (Microsoft.CodeAnalysis.DocumentId DocumentID) Unbekannte Microsoft.VisualStudio.LanguageServices.dll! Microsoft.VisualStudio.LanguageServices.Implementation.AbstractVsTextViewFilter .Microsoft.VisualStudio.TextManager.Interop.IVsReadOnlyViewNotification.OnDisabledEditingCommand (ref System.Guid pguidCmdGuid, uint dwCmdId) unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.OnDisabledEditingCommand (ref System.Guid pguidCmdGuid, uint dwCmdId) Unbekannte Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.InnerExec (Referenz System.Guid pguidCmdGroup, Benutzer-nCmdID, Benutzer-nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec (Referenz System.Guid pguidCmdGroup, Benutzer-nCmdID, Benutzer-nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.Undo.UndoManagerCommandFilter.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec (Referenz System.Guide pguidCmdGroup, Benutzer nCmdID, Benutzer nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) unbekannt Microsoft. VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec (Referenz System.Guide pguidCmdGroup, nint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec (ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.VerticalDetail.VerticalContentCommandFilter.Exec (ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec (Referenz System.Guide pguidCmdGroup, nint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec (Referenz System.Guid pguidCmdGroup, Benutzer-nCmdID, Benutzer-nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.Find.FindCommandFilter.Exec (Referenz System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec (Referenz System.Guide pguidCmdGroup, nint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec (Referenz System.Guid pguidCmdGroup, Benutzer-nCmdID, Benutzer-nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.IntellisenseCommandFilter.Exec (Referenz System.Guid pguidCmdGroup, Uint nCmdID, Uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec (Referenz System.Guide pguidCmdGroup, nint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec (Referenz System.Guid pguidCmdGroup, Benutzer-nCmdID, Benutzer-nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.BraceCompletionCommandFilter.Exec (Referenz System.Guide pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec (Referenz System.Guide pguidCmdGroup, nint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec (Referenz System.Guid pguidCmdGroup, Benutzer-nCmdID, Benutzer-nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec (ref System.Guid pguidCmdGroup, Uint nCmdID, Uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec (Referenz System.Guide pguidCmdGroup, nint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec (Referenz System.Guid pguidCmdGroup, Benutzer-nCmdID, Benutzer-nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec (ref System.Guid pguidCmdGroup, Uint nCmdID, Uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec (Referenz System.Guide pguidCmdGroup, nint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec (Referenz System.Guid pguidCmdGroup, Benutzer-nCmdID, Benutzer-nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.LanguageServices.dll! Microsoft.VisualStudio.LanguageServices.Implementation.AbstractOleCommandTarget.ExecuteVisualStudio2000.AnonymousMethod__0() Unbekannt Microsoft.CodeAnalysis.CSharp.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.CSharp.EventHookup.EventHookupCommandHandler.ExecuteCommand (Microsoft.CodeAnalysis.Editor.Commands.TypeCharCommandArgs args, System.Action nextHandler) Unbekannt Microsoft.CodeAnalysis.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.Implementation.Commands.CommandHandlerService.ExecuteHandlers.AnonymousMethod__1() Unbekannt Microsoft.CodeAnalysis.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.Implementation.DocumentationComments.AbstractDocumentationCommentCommandHandler .ExecuteCommand (Microsoft.CodeAnalysis.Editor.Commands.TypeCharCommandArgs args, System.Action nextHandler) unbekannt Microsoft.CodeAnalysis.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.Implementation.Commands.CommandHandlerService.ExecuteHandlers.AnonymousMethod__1() Unbekannt Microsoft.CodeAnalysis.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.Controller.Microsoft.CodeAnalysis.Editor.ICommandHandler .ExecuteCommand (Microsoft.CodeAnalysis.Editor.Commands.TypeCharCommandArgs args, System.Action nextHandler) unbekannt Microsoft.CodeAnalysis.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.CommandHandlers.AbstractCompletionCommandHandler.ExecuteCommandWorker (Microsoft.CodeAnalysis.Editor.Commands.TypeCharCommandArgs args, System.Action nextHandler) Unbekannt Microsoft.CodeAnalysis.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.CommandHandlers.AbstractCompletionCommandHandler.Microsoft.CodeAnalysis.Editor.ICommandHandler .ExecuteCommand (Microsoft.CodeAnalysis.Editor.Commands.TypeCharCommandArgs args, System.Action nextHandler) unbekannt Microsoft.CodeAnalysis.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.Implementation.Commands.CommandHandlerService.ExecuteHandlers.AnonymousMethod__1() Unbekannt Microsoft.CodeAnalysis.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller.Microsoft.CodeAnalysis.Editor.ICommandHandler .ExecuteCommand (Microsoft.CodeAnalysis.Editor.Commands.TypeCharCommandArgs args, System.Action nextHandler) unbekannt Microsoft.CodeAnalysis.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.CommandHandlers.SignatureHelpCommandHandler.ExecuteCommandWorker (Microsoft.CodeAnalysis.Editor.Commands.TypeCharCommandArgs args, System.Action nextHandler) Unbekannt Microsoft.CodeAnalysis.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.CommandHandlers.SignatureHelpCommandHandler.Microsoft.CodeAnalysis.Editor.ICommandHandler .ExecuteCommand (Microsoft.CodeAnalysis.Editor.Commands.TypeCharCommandArgs args, System.Action nextHandler) unbekannt Microsoft.CodeAnalysis.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.Implementation.Commands.CommandHandlerService.ExecuteHandlers.AnonymousMethod__1() Unbekannt Microsoft.CodeAnalysis.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.Implementation.Formatting.FormatCommandHandler.ExecuteReturnOrTypeCommand (Microsoft.CodeAnalysis.Editor.CommandArgs-Argumente, System.Action nextHandler, System.Threading.CancellationToken cancellationToken) Unbekannt Microsoft.CodeAnalysis.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.Implementation.Formatting.FormatCommandHandler.ExecuteCommand (Microsoft.CodeAnalysis.Editor.Commands.TypeCharCommandArgs args, System.Action nextHandler) Unbekannt Microsoft.CodeAnalysis.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.Implementation.Commands.CommandHandlerService.ExecuteHandlers.AnonymousMethod__1() Unbekannt Microsoft.CodeAnalysis.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.Implementation.DocumentationComments.AbstractXmlTagCompletionCommandHandler.ExecuteCommand (Microsoft.CodeAnalysis.Editor.Commands.TypeCharCommandArgs args, System.Action nextHandler) Unbekannt Microsoft.CodeAnalysis.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.Implementation.Commands.CommandHandlerService.ExecuteHandlers.AnonymousMethod__1() Unbekannt Microsoft.CodeAnalysis.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.Implementation.InlineRename.RenameCommandHandler.HandlePossibleTypingCommand (Microsoft.CodeAnalysis.Editor.CommandArgs-Argumente, System.Action nextHandler, System.Action actionIfInsideActiveSpan) unbekannt Microsoft.CodeAnalysis.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.Implementation.InlineRename.RenameCommandHandler.ExecuteCommand (Microsoft.CodeAnalysis.Editor.Commands.TypeCharCommandArgs args, System.Action nextHandler) Unbekannt Microsoft.CodeAnalysis.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.Implementation.Commands.CommandHandlerService.ExecuteHandlers (System.Collections.Generic.IList> commandHandlers, Microsoft.CodeAnalysis.Editor.Commands.TypeCharCommandArgs args, System.Action lastHandler) unbekannt Microsoft.CodeAnalysis.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.Implementation.Commands.CommandHandlerService.Execute (Microsoft.VisualStudio.Utilities.IContentType contentType, Microsoft.CodeAnalysis.Editor.Commands. TypCharCommandArgs args, System.Action lastHandler) unbekannt Microsoft.VisualStudio.LanguageServices.dll! Microsoft.VisualStudio.LanguageServices.Implementation.AbstractOleCommandTarget.ExecuteTypeCharacter (System.IntPtr pvaIn, Microsoft.VisualStudio.Text.ITextBuffer subjectBuffer, Microsoft.VisualStudio.Utilities.IContentType content, System.Action executeNextCommandTarget) Unbekannte Microsoft.VisualStudio.LanguageServices.dll! Microsoft.VisualStudio.LanguageServices.Imcumentation.AbstractOleCommandTarget.ExecuteVisualStudio2000 (Referenz System.Guide pguidCmdGroup, uint commandId, uint executeInformation, System.IntPtr pvaIn, System.IntPtr pvaOut, Microsoft.VisualStudio.Text.ITextBuffer subjectBuffer, Microsoft.VisualStudio.Utilities.IContentType contentType) unbekannt Microsoft.VisualStudio.LanguageServices.dll! Microsoft.VisualStudio.LanguageServices.Implementation.AbstractOleCommandTarget.Exec (Referenz System.Guid pguidCmdGroup, uint Befehls-ID, uint executeInformation, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec (Referenz System.Guide pguidCmdGroup, nint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Exec (ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.SendCommand (System.Guid cmdGroup, uint cmdID, Objekt inParam) Unbekannt Microsoft.VisualStudio.Editor.Implementation.dll! Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.TextInput (System.Windows.Input.TextCompositionEventArgs args) Unbekannt Microsoft.VisualStudio.Platform.VSEditor.dll! Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.DispatchTextInputEvents.AnonymousMethod__6_0 (Microsoft.VisualStudio.Text.Editor.KeyProcessor p, System.Windows.Input.TextCompositionEventArgs args) Unbekannt Microsoft.VisualStudio.Platform.VSEditor.dll! Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.Dispatch.AnonymousMethod__0() Unbekannt Microsoft.VisualStudio.Platform.VSEditor.dll! Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint (Objekt errorSource, System.Action-Aufruf) Unbekannt Microsoft.VisualStudio.Platform.VSEditor.dll! Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.Dispatch (System.Action-Aktion, System.Windows.Input.TextCompositionEventArgs args) unbekannt Microsoft.VisualStudio.Platform.VSEditor.dll! Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.MakeHandler.AnonymousMethod__0 (Objektabsender, System.Windows.Input.TextCompositionEventArgs args) Unbekannt PresentationCore.dll! System.Windows.Input.TextCompositionEventArgs.InvokeEventHandler (System.Delegate genericHandler, Objekt genericTarget) Unbekannt PresentationCore.dll! System.Windows.RoutedEventArgs.InvokeHandler (System.Delegate-Handler, Objektziel) Unbekannt PresentationCore.dll! System.Windows.RoutedEventHandlerInfo.InvokeHandler (Objekt target, System.Windows.RoutedEventArgs routedEventArgs) Unbekannt PresentationCore.dll! System.Windows.EventRoute.InvokeHandlersImpl (Objektquelle, System.Windows.RoutedEventArgs-Argumente, bool reRaised) Unbekannt PresentationCore.dll! System.Windows.UIElement.RaiseEventImpl (System.Windows.DependencyObject-Absender, System.Windows.RoutedEventArgs-Argumente) Unbekannt PresentationCore.dll! System.Windows.UIElement.RaiseTrustedEvent (System.Windows.RoutedEventArgs args) Unbekannt PresentationCore.dll! System.Windows.Input.InputManager.ProcessStagingArea() Unbekannt PresentationCore.dll! System.Windows.Input.InputManager.ProcessInput (System.Windows.Input.InputEventArgs-Eingabe) Unbekannt PresentationCore.dll! System.Windows.Input.TextCompositionManager.UnsafeCompleteComposition (System.Windows.Input.TextComposition-Komposition) Unbekannt PresentationCore.dll! System.Windows.Input.TextCompositionManager.PostProcessInput (Objekt Absender, System.Windows.Input.ProcessInputEventArgs e) Unbekannt PresentationCore.dll! System.Windows.Input.InputManager.RaiseProcessInputEventHandlers (System.Windows.Input.ProcessInputEventHandler nachProcessInput, System.Windows.Input.ProcessInputEventArgs processInputEventArgs) Unbekannt PresentationCore.dll! System.Windows.Input.InputManager.ProcessStagingArea() Unbekannt PresentationCore.dll! System.Windows.Input.InputManager.ProcessInput (System.Windows.Input.InputEventArgs-Eingabe) Unbekannt PresentationCore.dll! System.Windows.Input.TextCompositionManager.UnsafeStartComposition (System.Windows.Input.TextComposition-Komposition) Unbekannt PresentationCore.dll! System.Windows.Input.TextCompositionManager.PostProcessInput (Objekt Absender, System.Windows.Input.ProcessInputEventArgs e) Unbekannt PresentationCore.dll! System.Windows.Input.InputManager.RaiseProcessInputEventHandlers (System.Windows.Input.ProcessInputEventHandler nachProcessInput, System.Windows.Input.ProcessInputEventArgs processInputEventArgs) Unbekannt PresentationCore.dll! System.Windows.Input.InputManager.ProcessStagingArea() Unbekannt PresentationCore.dll! System.Windows.Input.InputManager.ProcessInput (System.Windows.Input.InputEventArgs-Eingabe) Unbekannt PresentationCore.dll! System.Windows.Input.InputProviderSite.ReportInput (System.Windows.Input.InputReport inputReport) Unbekannt PresentationCore.dll! System.Windows.Interop.HwndKeyboardInputProvider.ProcessTextInputAction (System.IntPtr hwnd, MS.Internal.Interop.WindowMessage msg, System.IntPtr wParam, System.IntPtr lParam, ref bool behandelt) Unbekannt PresentationCore.dll! System.Windows.Interop.HwndSource.OnPreprocessMessage (Objektparam) Unbekannt WindowsBase.dll! System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate-Rückruf, Objektargumente, int numArgs) Unbekannt WindowsBase.dll! System.Windows.Threading.ExceptionWrapper.TryCatchWhen (Objektquelle, System.Delegate-Rückruf, Objektargumente, int numArgs, System.Delegate catchHandler) Unbekannt WindowsBase.dll! System.Windows.Threading.Dispatcher.LegacyInvokeImpl (System.Windows.Threading.DispatcherPriority-Priorität, System.TimeSpan-Zeitlimit, System.Delegate-Methode, Objektargumente, int numArgs) Unbekannt WindowsBase.dll! System.Windows.Threading.Dispatcher.Invoke (System.Windows.Threading.DispatcherPriority-Priorität, System.Delegate-Methode, Objekt arg) Unbekannt PresentationCore.dll! System.Windows.Interop.HwndSource.OnPreprocessMessageThunk (Referenz System.Windows.Interop.MSG msg, ref bool behandelt) Unbekannt PresentationCore.dll! System.Windows.Interop.HwndSource.WeakEventPreprocessMessage.OnPreprocessMessage (Referenz System.Windows.Interop.MSG msg, ref bool behandelt) Unbekannt WindowsBase.dll! System.Windows.Interop.ComponentDispatcherThread.RaiseThreadMessage (Referenz System.Windows.Interop.MSG msg) Unbekannt Microsoft.VisualStudio.Platform.WindowManagement.dll! Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.PreTranslateInput (ref Microsoft.VisualStudio.OLE.Interop.MSG Olemsg, bool behandelt) Unbekannte

+1

Die Funktion Bearbeiten und Fortfahren für Ihr Projekt ist beschädigt. Fällt in die Kategorie "Mist passiert", ist es eine sehr verworrene Eigenschaft. Sie können nicht viel mehr tun, als E + C zu deaktivieren, damit dieser Fehler nicht auftritt. Oder verwenden Sie die Quellcodeverwaltung für eine frühere Version, die nicht abstürzt. Vielleicht führen Sie Ihren Code im 32-Bit-Modus, E + C für x64-Code ist ziemlich neu. Sie müssen Microsoft Support anrufen, wenn Sie nicht ohne ihn leben können. –

+0

Da Ihr Visual Studio vor einem Monat in Ordnung war, überprüfen Sie bitte die Datei ActiveLog.xml unter dem Pfad% AppData% \ Microsoft \ VisualStudio \ 14.0. Diese Datei protokolliert alle Vorgänge, wenn Sie Visual Studio betreiben. Wenn in dieser Datei keine Fehlermeldung angezeigt wird, sollten Sie die Visual Studio-Caches unter "C: \ Benutzer \ [Benutzer] \ AppData \ Local \ Microsoft \ VisualStudio \ 14.0 \" löschen, um zu bestätigen, ob das Problem dadurch verursacht wird die Visual Studio-Caches oder nicht. –

+0

Ich habe den Cache gelöscht, aber es ist nutzlos. Obwohl die Deaktivierung der E + C-Funktion den Absturz von VS verhindern würde, kann ich die lokalen Variablen immer noch nicht sehen. Vielleicht ist die Debugging-Funktion kaputt. –

Antwort

1

Wie Hans Passant Vorschlag, zumindest haben Sie die VS abgestürzt behoben Problem nach Sie deaktivieren die Funktion "Edit and Continue" unter TOOLS-> Optionen-> Debugging.

Wenn Sie die lokalen Variablen nicht sehen konnten, überprüfen Sie bitte, ob sie mit den Debugging-Optionen "Verwendeten Kompatibilitätsmodus verwenden" und "Nativen Kompatibilitätsmodus verwenden" zusammenhängen.

enter image description here

+0

Nach Überprüfung der beiden Optionen funktionieren die lokalen Variablen wieder! –

Verwandte Themen