Microsoft Azure Cloud Integration Engineering

(Compute, Cache, Storage, ACS, Service Bus, WebSites, VMs, SQL Azure, Data Sync, Import Export)

Debugging a Windows Azure Cloud Service WebRole project in VS2013 hangs

Debugging a Windows Azure Cloud Service WebRole project in VS2013 hangs

Rate This
  • Comments 1

After migrating to Visual Studio 2013, Visual Studio hangs when debugging a Windows Azure Cloud Service project that has an asp.net webRole within it.
Debug—>”Start Without debugging” (CTRL+F5) works fine.

image

This happens when you have configured multiple endpoints in the application. Changing this to a single endpoint works fine as well.
   ServiceDefinition.csdef:

<Endpoints>
    < InputEndpoint name="Endpoint1" protocol="http" port="80" />
    < InputEndpoint name="Endpoint2" protocol="http" port="8080" />
     <InputEndpoint name="Endpoint3" protocol="http" port="8081" />
  </Endpoints>

Also, this hang occurs when using the “Use IIS Web Server” option under “Local Development Server” settings in the Windows Azure project’s properties-->Web tab.
The hang does not occur when you use the “Use IIS Express” setting which is the default.

image

Same scenario works fine in VS2012.

This is a known bug in Visual Studio 2013 RTM which is scheduled to be fixed in the “VS 2013 Update 2”(http://support.microsoft.com/kb/2829760) which is currently in CTP2. The fix is not included yet in the CTP2 however, we will need to wait for the official release of this update for the fix to be included.

Workaround: The problem is specific to multiple endpoints in a web role running in IIS, so changing either of those things is the workaround until the Spring Update.

Comments
  • Does --not-- seem to be fixed in Update 2.

    It is very annoying having to drop back to VS2012 to do the testing.

    When can we expect this to be fixed?  

Page 1 of 1 (1 items)
Leave a Comment
  • Please add 5 and 7 and type the answer here:
  • Post