Visual Studio 2015 Debugger Corruption - Ist es ein Fehler oder nur ich?

Bin ich verrückt geworden? Ich war immer in der Lage, dem Debugger zu vertrauen, oder?

Es stellt sich heraus, dass während einer Debugsitzung mit VS2015, wenn ich zum Beispiel den Wert einer Variablen im Direktfenster ändere, diese Zuweisung dazu führt, dass ein "Garbage" -Wert zugewiesen wird. Es ist jedes Mal derselbe Müllwert, aber trotzdem völlig falsch.

Ich habe dies auf die einfachste Konsolenanwendung reduziert und für den Fall, dass Sie meinen, mit meiner Selbsteinschätzung des Wahnsinns übereinzustimmen, habe ich auch einen Screenshot-Videoclip erstellt, in dem es schief geht.

Bekommt ihr dieses Problem auch oder ist das ein lokales Problem?

Hier sind die One-Drive-Links für:

Video Clip von reproQuellcode für repro (sehr klein - Hauptklassencode unten)

PS: Ich verwende Windows 10 Enterprise x64, VS2015 Enterprise mit allen aktuellen Updates für Betriebssystem und VS. Die zugrunde liegende Hardware ist moderne Hardware, mit der ich unter VS2013 keine Probleme hatte.

internal class Program
{
    private static DateTime? _nullableDateTime;

    private static void Main( string[] args )
    {
        // Use the debugger to step through this repro. 
        // * Not sure if it matters, but I started with F11 right from the         start without any breakpoints.
        // ==============================================================================================

        // 1. Variable starts off with default of null
        //    The following statement will confirm that with an "empty" value in the console window
        Console.WriteLine( _nullableDateTime );

        // 2. The next statement assigns the current date and time
        _nullableDateTime = DateTime.Now;

        // 3. The following statement will confirm the correct value in the console window
        Console.WriteLine( _nullableDateTime );

        // 4. THIS IS WHERE THE TROUBLE STARTS
        //    Now, using the immediate window, change the value of the variable with the 
        //    following statement (after the colon) : _nullableDateTime = DateTime.Now
        //    
        //  
        //

        // 5. After changing the value via the immediate window, let's look at it's value now.
        //    For me (as can be seen in the video), I get the completely wrong value in the console window.
        Console.WriteLine( _nullableDateTime );
    }
}

Ich fange an, dasselbe für ein VS Connect-Problem zusammenzustellen.

EDIT: Ich beginne mich zu fragen, ob dies nur für mich ein Problem ist, da niemand bestätigt hat, dass dies auch für sie geschieht.

EDIT: Das Verbindungsproblem wurde abgelegtHie.

Antworten auf die Frage(4)

Ihre Antwort auf die Frage