Visual Studio Debug mode fixed