VS2015 - Long time to start and running with the debugger
-
Me and my colleagues have an annoying problem with Visual Studio 2015. When we try to run our projects with the debugger, it takes minutes to start the application in VS2015. For example, if I create a new console application with the following code:
using System;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("I don't like the 'Hello world' example.");
}
}
}I set a breakpoint on the
Console.Writeline()
call. * Building the application: No problems, fast and quick as expected. * Running the application withCTRL + F5
: Starts immediately. * Running the application with onlyF5
: Takes several minutes before the applications starts and hit the breakpoint. * Running without breakpoints result in the same several minutes to wait. The time I have to wait is approximately 4 minutes. Here is the sequence of events: 1) Hitting theF5
button. 2) Visual Studio is frozen for about 2 minutes and the cursor changes to the "spinning circle" cursor while hovering it over VS. 3) After two minutes, the pause and stop buttons are displayed in the Debug toolbar. These buttons are clickable and I can pause, stop or restart the application. 4) After another two minutes, the application finally stops at the breakpoint. Hurray! From this point I can run and use the debugger as usual. I use VS2015 - V14.0.25431.01 Update 3 on a Win7 professional X64 computer. CPU and RAM usage is not at the limit. While waiting for the program to start with the debugger, I can use the computer as normal. I didn't have this problem three weeks ago so something must have happened. I have googled but didn't find anything what could cause this problem. Any suggestions what to do? Any explanation what is going on? Best regards, /Steffe -
Me and my colleagues have an annoying problem with Visual Studio 2015. When we try to run our projects with the debugger, it takes minutes to start the application in VS2015. For example, if I create a new console application with the following code:
using System;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("I don't like the 'Hello world' example.");
}
}
}I set a breakpoint on the
Console.Writeline()
call. * Building the application: No problems, fast and quick as expected. * Running the application withCTRL + F5
: Starts immediately. * Running the application with onlyF5
: Takes several minutes before the applications starts and hit the breakpoint. * Running without breakpoints result in the same several minutes to wait. The time I have to wait is approximately 4 minutes. Here is the sequence of events: 1) Hitting theF5
button. 2) Visual Studio is frozen for about 2 minutes and the cursor changes to the "spinning circle" cursor while hovering it over VS. 3) After two minutes, the pause and stop buttons are displayed in the Debug toolbar. These buttons are clickable and I can pause, stop or restart the application. 4) After another two minutes, the application finally stops at the breakpoint. Hurray! From this point I can run and use the debugger as usual. I use VS2015 - V14.0.25431.01 Update 3 on a Win7 professional X64 computer. CPU and RAM usage is not at the limit. While waiting for the program to start with the debugger, I can use the computer as normal. I didn't have this problem three weeks ago so something must have happened. I have googled but didn't find anything what could cause this problem. Any suggestions what to do? Any explanation what is going on? Best regards, /SteffeContact Microsoft Support on this one. I have no idea what it be would be. I'd be giving my TAM a call if I had the same problem.
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave Kreskowiak -
Contact Microsoft Support on this one. I have no idea what it be would be. I'd be giving my TAM a call if I had the same problem.
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave Kreskowiak -
Thank you Dave! However, I'm unaware how to contact Microsoft Support. I have tried, but it's basically impossible to use their sites and get anywhere how to send/call them with a problem.
Windows developer support – Windows app development[^] It's done through email at first.
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave Kreskowiak