Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio 2015 & .NET 4.6
  4. VS2015 - Long time to start and running with the debugger

VS2015 - Long time to start and running with the debugger

Scheduled Pinned Locked Moved Visual Studio 2015 & .NET 4.6
debuggingvisual-studioquestioncsharphelp
4 Posts 2 Posters 7 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mc_Topaz
    wrote on last edited by
    #1

    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 with CTRL + F5: Starts immediately. * Running the application with only F5: 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 the F5 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

    D 1 Reply Last reply
    0
    • M Mc_Topaz

      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 with CTRL + F5: Starts immediately. * Running the application with only F5: 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 the F5 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

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      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

      M 1 Reply Last reply
      0
      • D 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

        M Offline
        M Offline
        Mc_Topaz
        wrote on last edited by
        #3

        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.

        D 1 Reply Last reply
        0
        • M Mc_Topaz

          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.

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups