Skip to content

Instantly share code, notes, and snippets.

@kzu
Created February 2, 2022 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kzu/261d4d7e238eeccd9663aa1cba30f3a1 to your computer and use it in GitHub Desktop.
Save kzu/261d4d7e238eeccd9663aa1cba30f3a1 to your computer and use it in GitHub Desktop.
editor error
817 ERROR System.ArgumentException: The supplied SnapshotPoint is on an incorrect snapshot. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) Editor or Editor Extension 2022/02/02 15:20:07.294
818 ERROR System.ArgumentException: The supplied SnapshotPoint is on an incorrect snapshot. at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.ValidateBufferPosition(SnapshotPoint bufferPosition) at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.Microsoft.VisualStudio.Text.Editor.IWpfTextView.GetTextViewLineContainingBufferPosition(SnapshotPoint bufferPosition) at Microsoft.VisualStudio.Internal.InlineSuggestions.Implementation.SuggestionSession.GenerateTags(SuggestedEdit edit, String suffix, List`1& intraTextAdornmentTags, List`1& interLineAdornmentTags) in D:\a\_work\1\s\src\InlineSuggestions\Implementation\SuggestionSession.cs:line 558 at Microsoft.VisualStudio.Internal.InlineSuggestions.Implementation.SuggestionSession.UpdateTags(Boolean caretPositionChanged) in D:\a\_work\1\s\src\InlineSuggestions\Implementation\SuggestionSession.cs:line 326 at Microsoft.VisualStudio.Internal.InlineSuggestions.Implementation.SuggestionSession.ChainedCommandHandled(EditorCommandArgs args, CommandExecutionContext executionContext) in D:\a\_work\1\s\src\InlineSuggestions\Implementation\SuggestionSession.cs:line 402 at Microsoft.VisualStudio.Internal.InlineSuggestions.Implementation.BackspaceCommandHandler.ExecuteCommand(BackspaceKeyCommandArgs args, Action nextCommandHandler, CommandExecutionContext executionContext) in D:\a\_work\1\s\src\InlineSuggestions\Implementation\CommandHandling\BackspaceCommandHandler.cs:line 37 at Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.<>c__DisplayClass15_1`1.<ExecuteStartingAtIndex>b__0() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call, Predicate`1 exceptionFilter) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) Editor or Editor Extension 2022/02/02 15:20:07.299
819 ERROR System.ArgumentException: The supplied SnapshotPoint is on an incorrect snapshot. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) Editor or Editor Extension 2022/02/02 15:20:07.342
820 ERROR System.ArgumentException: The supplied SnapshotPoint is on an incorrect snapshot. at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.ValidateBufferPosition(SnapshotPoint bufferPosition) at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.Microsoft.VisualStudio.Text.Editor.IWpfTextView.GetTextViewLineContainingBufferPosition(SnapshotPoint bufferPosition) at Microsoft.VisualStudio.Internal.InlineSuggestions.Implementation.SuggestionSession.GenerateTags(SuggestedEdit edit, String suffix, List`1& intraTextAdornmentTags, List`1& interLineAdornmentTags) in D:\a\_work\1\s\src\InlineSuggestions\Implementation\SuggestionSession.cs:line 558 at Microsoft.VisualStudio.Internal.InlineSuggestions.Implementation.SuggestionSession.UpdateTags(Boolean caretPositionChanged) in D:\a\_work\1\s\src\InlineSuggestions\Implementation\SuggestionSession.cs:line 326 at Microsoft.VisualStudio.Internal.InlineSuggestions.Implementation.SuggestionSession.OnTextBufferChanged(Object sender, TextContentChangedEventArgs e) in D:\a\_work\1\s\src\InlineSuggestions\Implementation\SuggestionSession.cs:line 198 at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) Editor or Editor Extension 2022/02/02 15:20:07.358
821 ERROR System.ArgumentException: The supplied SnapshotPoint is on an incorrect snapshot. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) Editor or Editor Extension 2022/02/02 15:20:07.700
822 ERROR System.ArgumentException: The supplied SnapshotPoint is on an incorrect snapshot. at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.ValidateBufferPosition(SnapshotPoint bufferPosition) at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.Microsoft.VisualStudio.Text.Editor.IWpfTextView.GetTextViewLineContainingBufferPosition(SnapshotPoint bufferPosition) at Microsoft.VisualStudio.Internal.InlineSuggestions.Implementation.SuggestionSession.GenerateTags(SuggestedEdit edit, String suffix, List`1& intraTextAdornmentTags, List`1& interLineAdornmentTags) in D:\a\_work\1\s\src\InlineSuggestions\Implementation\SuggestionSession.cs:line 558 at Microsoft.VisualStudio.Internal.InlineSuggestions.Implementation.SuggestionSession.UpdateTags(Boolean caretPositionChanged) in D:\a\_work\1\s\src\InlineSuggestions\Implementation\SuggestionSession.cs:line 326 at Microsoft.VisualStudio.Internal.InlineSuggestions.Implementation.SuggestionSession.ChainedCommandHandled(EditorCommandArgs args, CommandExecutionContext executionContext) in D:\a\_work\1\s\src\InlineSuggestions\Implementation\SuggestionSession.cs:line 402 at Microsoft.VisualStudio.Internal.InlineSuggestions.Implementation.BackspaceCommandHandler.ExecuteCommand(BackspaceKeyCommandArgs args, Action nextCommandHandler, CommandExecutionContext executionContext) in D:\a\_work\1\s\src\InlineSuggestions\Implementation\CommandHandling\BackspaceCommandHandler.cs:line 37 at Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.<>c__DisplayClass15_1`1.<ExecuteStartingAtIndex>b__0() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call, Predicate`1 exceptionFilter) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) Editor or Editor Extension 2022/02/02 15:20:07.723
823 ERROR System.ArgumentException: The supplied SnapshotPoint is on an incorrect snapshot. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) Editor or Editor Extension 2022/02/02 15:20:07.753
824 ERROR System.ArgumentException: The supplied SnapshotPoint is on an incorrect snapshot. at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.ValidateBufferPosition(SnapshotPoint bufferPosition) at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.Microsoft.VisualStudio.Text.Editor.IWpfTextView.GetTextViewLineContainingBufferPosition(SnapshotPoint bufferPosition) at Microsoft.VisualStudio.Internal.InlineSuggestions.Implementation.SuggestionSession.GenerateTags(SuggestedEdit edit, String suffix, List`1& intraTextAdornmentTags, List`1& interLineAdornmentTags) in D:\a\_work\1\s\src\InlineSuggestions\Implementation\SuggestionSession.cs:line 558 at Microsoft.VisualStudio.Internal.InlineSuggestions.Implementation.SuggestionSession.UpdateTags(Boolean caretPositionChanged) in D:\a\_work\1\s\src\InlineSuggestions\Implementation\SuggestionSession.cs:line 326 at Microsoft.VisualStudio.Internal.InlineSuggestions.Implementation.SuggestionSession.OnTextBufferChanged(Object sender, TextContentChangedEventArgs e) in D:\a\_work\1\s\src\InlineSuggestions\Implementation\SuggestionSession.cs:line 198 at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) Editor or Editor Extension 2022/02/02 15:20:07.761
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment