Answered VS 11 preview - Starting a new console application

  • Wednesday, November 23, 2011 8:19 AM
     
     
    When I create a new Console Application in VS11 it says, "Debugger is busy" and "Debugger is performing a remote operation that is taking longer than expected." This doesn't seem to end and when you press "Terminate" it ultimately comes back up again. I was wondering how you can fix this, if at all. 

All Replies

  • Thursday, November 24, 2011 9:21 AM
    Moderator
     
     Answered

    Based on your description, it seems that you are debugging a remote App when you create a new Console App. If you debug it locally, whether it has the same issue?

     

    In addition, we could narrow this issue down:

     

    1.       Delete all breakpoints in your App(Ctrl+Shift+F9).

    2.       Please pay attention to the status bar of Visual Studio, does it indicate Visual Studio is currently downloading symbol files? Please enable Just My Code option to skip loading symbols. That should speed up the process.

    3.       If you are debugging it locally, uncheck “Enable the Visual Studio hosting process”.

    4.       Close the firewall and the antivirus or other processes which are not necessary now. Check it again.

    5.       Run the VS11 in safe model, type devenv.exe /safemode in the run window, whether it has this issue?

     

    If there is any concert, please make free feel to let us know.


    Mike Zhang[MSFT]
    MSDN Community Support | Feedback to us
  • Thursday, November 24, 2011 6:52 PM
     
     

    Hi Mike,

     

    1. This doesn't seem to make sense as it is a NEW Console Application.
    2. It says, "Creating project 'ConsoleApplication4'... project creation successful," but it remains "hanging" (it seems to still work, yet should give a proper respond to the user; I already reported this 'bug').
    3. You can't uncheck this; the user is not able to do anything as the message remains focus.
    4. I installed TFS 11 as well; I am not sure if this makes any difference. I stopped the firewall and antivirus and everything remained the same. The "Remote debugging... for VS 11 Preview" (paraphrased) in the Windows Firewall settings doesn't seem to make any difference, that is, whether it is there or not. 
    5. Starting VS11 in /safemode keeps having the same issue. 

     

  • Thursday, November 24, 2011 6:56 PM
     
     
    Starting VS11 with /resetsettings also doesn't change anything. :(
  • Thursday, November 24, 2011 7:30 PM
     
     Answered

    Hi Mike,

    Step number 3 seems to solve it: 

    "If you are debugging it locally, uncheck “Enable the Visual Studio hosting process”."

    The way I worked around it was to create a new Console Application in VS2010 and then check out the 'Enable the Visual Studio hosting process' and saving the project and exporting it to a new template. This template I opened in VS11 and from there exported it to a new template in VS11. Is there a way to disable this by default?

     



  • Friday, November 25, 2011 3:11 AM
    Moderator
     
     

    Hi Pieter,

     

    Glad to see this issue has been resolved.

     

    In addition, based on my understanding, if you create an App in VS2010, uncheck “Enable the Visual Studio hosting process”, and export it to a new template, when open it in VS11, the “Enable the Visual Studio hosting process” is still unchecked. 


    Mike Zhang[MSFT]
    MSDN Community Support | Feedback to us
  • Friday, November 25, 2011 8:56 AM
     
     

    That's right. 

    However, I think there is still something wrong. I opened another application that I made earlier in which the setting had been enabled and I didn't have any problems then when developing it. I am thinking that perhaps something has been either reconfigured or installed that caused this behavior; I reported it to Microsoft Connect.


  • Saturday, April 07, 2012 8:52 AM
     
     

    I Recently installed VS2011 Beta and I get the following error if I start a new project with a target framework to anything other than .NET Framework 4.5?

    Debugger is Busy

    I've tried the steps above but without any success.