-
Notifications
You must be signed in to change notification settings - Fork 790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception pops up while editing F# code in Visual Studio 2017, log shows TaskCanceledException #5033
Comments
It looks like something timed out upon attempting to get Signature Help, which unfortunately can mean any number of things (too long to typecheck, too long to do some other work prior to typechecking, etc.) Based on this and #4718, it seems like you have code that has a shape that is uncommon enough to not have similar issues raised by others, not be covered in manual usage of our own codebase, and stress the tools in some way which hasn't been accounted for. |
Will it make me famous? :P. Perhaps I can share my desktop or send you (part of) the project that has this behavior (see other thread). |
PS: if this happens again, is there a more substantial log that I can switch on and/or send that could help us further (apart from profiling and recording)? |
Not that I'm aware of, unfortunately. The stack trace there is basically saying, "some concurrent work was cancelled", which leads me to believe that a different exception was thrown somewhere else. But without a reliable reproduction, it's impossible to say what part of the tools ends up throwing that exception. |
Given that this is a task being cancelled in Roslyn, my guess is that there was some other error or timeout associated with the action you took. I don't think there is a specific bug that is unrelated to just the general pile of performance issues you have with the F# compiler, Visual Studio, and your codebase 😢 I'll close this out. If you see it repeatedly for something that doesn't appear to be perf-related, please do ping and we can re-open it. |
Ok, I'll let you know if that's the case. |
I just received the following exception while editing in Visual Studio 2017, 15.7.2 RTM.
Repro steps
No repro, sorry, but it has happened in the past, in which case I always just clicked it away. It seems to be in the same line as other reports (including mine) about deteriorating editing experience where the editor quickly gets slower and slower while using it.
Expected behavior
No exceptions should popup.
Actual behavior
Exception. This is what the ActivityLog shows:
The text was updated successfully, but these errors were encountered: