Skip to content
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

Fix NullReferenceException during debugging #1779

Merged
merged 2 commits into from
Apr 3, 2015
Merged

Commits on Apr 3, 2015

  1. Fix NullReferenceException during debugging

    When opening a file during a debugging session, VS sets its buffer read-only when it is not editable. To do so, VS asks its document to the workspace but in some cases, the workspace returns nothing, causing NRE and VS Crash. Issue dotnet#1202 is tracking to fix this issue directly (by enforcing the workspace to load projects before EnC). In this PR, we defensively add a null check and log it to make a further investigation easier.
    wschae committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    fc44da4 View commit details
    Browse the repository at this point in the history
  2. Fix NullReferenceException during debugging

    Add a TODO with an issue number dotnet#1204
    wschae committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    a3bf5b0 View commit details
    Browse the repository at this point in the history