dotnet/roslyn

Pressing SHIFT+ENTER in Intermediate window results in a fault

オープン

#42,784 opened on 2020/03/26

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)C# (4,257 件のフォーク)batch import
Area-InteractiveBughelp wanted

Repository metrics

Stars
 (20,414 個のスター)
PR merge metrics
 (平均マージ 6d 17h) (30d で 256 merged PRs)

説明

Version Used:

Steps to Reproduce:

  1. While debugging, open Intermediate window, type Console.WriteLine and press ENTER
  2. Press UP arrow
  3. Press SHIFT+ENTER
System.NotSupportedException: Changing documents is not supported.   
at Microsoft.CodeAnalysis.Workspace.CheckAllowedProjectChanges(ProjectChanges projectChanges)   
at Microsoft.CodeAnalysis.Workspace.CheckAllowedSolutionChanges(SolutionChanges solutionChanges)  
at Microsoft.CodeAnalysis.Workspace.TryApplyChanges(Solution newSolution, IProgressTracker progressTracker)   
at Microsoft.CodeAnalysis.Workspace.TryApplyChanges(Solution newSolution)   
at Microsoft.CodeAnalysis.Editor.Implementation.AutomaticCompletion.Extensions.ApplyTextChanges(Document document, IEnumerable`1 textChanges, CancellationToken cancellationToken)   
at Microsoft.CodeAnalysis.Editor.CSharp.AutomaticCompletion.AutomaticLineEnderCommandHandler.FormatAndApply(Document document, Int32 position, CancellationToken cancellationToken)   
at Microsoft.CodeAnalysis.Editor.Implementation.AutomaticCompletion.AbstractAutomaticLineEnderCommandHandler.ExecuteCommand(AutomaticLineEnderCommandArgs args, Action nextHandler, CommandExecutionContext context)   
at Microsoft.VisualStudio.Commanding.CommandHandlerExtensions.ExecuteCommand[T](ICommandHandler commandHandler, T args, Action nextCommandHandler, CommandExecutionContext executionContext)   
at Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.<>c__DisplayClass13_1`1.<Execute>b__1()   
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 Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)</description>

コントリビューターガイド