Chapter 16

Azure Diagnostics and Debugging

What’s In This Chapter?

  • Defining Windows Azure Diagnostics
  • Comparing local debugging to cloud debugging
  • What is Intellitrace?
  • How to use profiling
  • How to use Windows Azure Diagnostics
  • How to view your logs
  • Working with Windows Azure MMC

Whenever you write an application, you debug or diagnose it. The reasons for this are numerous—from bugs to performance issues to testing changes in your algorithms or code. Windows Azure provides both debugging and diagnostic capabilities, and you can use both together to get to the root cause of any issues that arise in your application. In addition, Visual Studio provides rich tools so that your debugging does not need to happen against the live instance of your service; you can debug against an emulated environment, which makes the debugging process available anytime and anywhere.

What Is Windows Azure Diagnostics?

Windows Azure Diagnostics enables you to collect data about your Azure application so that you can use that data to debug, troubleshoot, measure performance, or perform other development tasks. You can run Windows Azure Diagnostics locally or remotely and configure it separately from your Azure application. This flexibility enables you to work with diagnostics without changing your Azure application. In addition, you can transfer Windows Azure Diagnostics either on a schedule or on-demand to a Windows Azure storage account, which allows you to persist and build a data warehouse of performance ...

Get Programming Microsoft's Clouds: Windows Azure™ and Office 365 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.