IInteractiveWindow.WriteErrorLine can throw NRE when VS is closing

Open
#32 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp

Research direction

Start with the InteractiveWindow.UIThread methods, especially IInteractiveWindow.WriteErrorLine, and read the linked RTVS issue for the closing-Visual-Studio scenario. Verify how Dispatcher.HasShutdownStarted is available there and reproduce or review the shutdown path; done means WriteErrorLine no longer throws a NullReferenceException while Visual Studio is closing.

Written by the indexing model from the issue text.

Description

Bug

https://github.com/Microsoft/RTVS/issues/2637
It needs to check Dispatcher.HasShutdownStarted inside InteractiveWindow.UIThread methods

Dominant language
C#
Stars
78
Forks
44
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/interactive-window

All issues in dotnet/interactive-window

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.