Debug a deployed azure application

Can I connect to a deployed Azure application? I would like to be able to go through the code so that I can see what values ​​are set in the request for one of my actions in the web role.

I looked around and the only examples seem to be debugging when the azure application is running on the local machine.

+7
asp.net-mvc azure
source share
6 answers

Windows Azure Tools (June 2010) lets you use IntelliTrace in the cloud. This issue:

Adds support for debugging services in the cloud using the Visual Studio 2010 IntelliTrace feature . This can be used with the deployment feature, and the logs are retrieved through Server Explorer.

IntelliTrace support requires :

  • .NET 4
  • Visual Studio 2010 Ultimate
  • Cloud service must be deployed with IntelliTrace enabled.
+8
source share

No, you cannot debug an Azure application running on MS servers.

You may be able to solve your problem with the Azure logging function.

Edited to add MS just announced IntelliTrace for cloud fabric in June 2010 tools.

+2
source share

Craig is right today, you cannot debug an Azure application running on cloud fbaric, you can only debug a local structure. you can look at the diagonal and logging API http://blogs.msdn.com/b/windowsazure/archive/2009/12/01/introducing-windows-azure-diagnostics.aspx http://blog.benday.com/archive /2008/11/07/23201.aspx

This is a great tool - http://www.cerebrata.com/Products/AzureDiagnosticsManager/Default.aspx

+1
source share

Adding another question to Rinat's answer: I attended a session on Intellitrace, and I was told that it should never be used in your applications running in the production slot, as this creates quite an overhead. Thus, you may want to deploy your application in an intermediate slot by doing all cloud debugging and then uninstall Intellitrace as soon as you find the cause of your problems.

+1
source share
0
source share

There is a way to deploy Visual Studio 2012 remote debugging tools for the Windows Azure cloud service and connect to the remote process. The following blog comment explains the approach. http://www.fullscale180.com/Blog/post/2012/10/07/Remote-Debugging-Windows-Azure-Cloud-Services-with-Visual-Studio-2012.aspx

This code example demonstrates remote debugging of Windows Azure Cloud Services with Visual Studio 2012. This example uses Visual Studio 2012 remote debugging tools and offers an approach to deploying these tools with a cloud service, which allows us to connect to a deployed instance from Visual Studio 2012 using remote debugging features.

0
source share

All Articles