Debug a deployed cloud services application

How can I debug a deployed cloud service application?

I am trying to make an RDLC report in my application using Themes and Subscriptions. Whenever I run the cloud application locally, I get no errors. But as soon as I deploy it on top of the cloud, I get an error that is not described to such an extent that it can be fixed.

I found that an error occurs when the report is ready for visualization, and not elsewhere. I'm looking for possible mechanisms (by inserting breakpoints, like we do locally, etc.), with which you can debug a deployed cloud application.

Since I use VS2012 Express and professional, intellitrace does not work here.

+4
source share
3 answers

You need to enable Remote Debugging for your role, and you can debug your code in the cloud with any type of Visual Studio.

+3
source

I do not think you can, however Intellitrace was created for this purpose. You enable Intellitrace in your cloud instances, and then you can β€œplay” this instance locally, debugging and detecting exceptions thrown.

Here's an MSDN article about it http://msdn.microsoft.com/en-us/library/vstudio/dd264915.aspx

+1
source

Having Intellitrace only in the most expensive version of Visual Studio makes Azure development much more expensive than advertised. There are some situations, for example, when the role begins, that you can hardly do anything without Intellitrace. If you find that you are in one of these cases, "rate" VS in the local virtual machine. You may need to reevaluate at some point in the future, in which case you will need another virtual machine.

+1
source

Source: https://habr.com/ru/post/1482137/


All Articles