Debugging Windows Azure Application with IntelliTrace

  Microsoft introduced IntelliTrace in the Visual Studio 2010 Ultimate Edition, and was previously called Historical Debugger, since it provides a way to debug historical data, because it provides a way to save information needed to provide a Debugging capabilities even if we aren’t using live code, or capable to reproduce a specific behavior.

   This capability is very important when we use it locally on our machines, but when we look at the Cloud where we don’t know what’s really happening this is much more important, and so this is how we can use IntelliTrace to Debug Windows Azure Roles.

1. Publish our Cloud Service and define that it should have IntelliTrace enabled.

PublishingWithIntelliTrace

2. After that, we should specify exactly what we want to be logged by IntelliTrace so we can analyze it afterwards.

ChooseIntelliTraceSettings

     3. Now select the elements you need.

IntelliTraceGeneralSettings

      • “IntelliTrace events only” and “IntelliTrace events and call Information” this defines exactly what you need in terms of information, if only the events are enough or if you need to have the call stack and variable values and so on.

4. Select which modules to Log

IntelliTraceModuleSettings

5. Select which processes to log

IntelliTraceProcessesSettings

6. Select the Events we would like to be logged and used by IntelliTrace

IntelliTraceIntelliTraceEventsSettings

7. Select the maximum amount of disk space that can be used by IntelliTrace

IntelliTraceIntelliTraceAdvancedSettings

8. Now that all settings is in place just publish it

PublishWithIntelliTrace

  Now just wait for it to be published

Publishing

  Now that it’s already published and running let’s analyze the IntelliTrace Logs

1. Open the Server Explorer and check that you have the recently installed environment with IntelliTrace

ServerExplorer

2. Now select an instance and right-click on it and select the View IntelliTrace Logs option

ViewIntelliTraceOption

3. Now just wait for the Logs to be downloaded

IntelliTraceLogsDownload

4. When the logs are downloaded you’ll get a summary of your IntelliTrace logs like this

IntelliTraceSummary

    • This IntelliTrace summary has information about:
      • Threads that are being used
      • Exception Data list
      • System Information
      • Modules Loaded

5. Now just select the Start Debugging button to start using IntelliTrace

StartDebugging

6. Don’t for forget to show IntelliTrace windows for Events and Calls

OpenIntelliTraceWindows

 

Hope this helps you to know better what’s happening with your Windows Azure Cloud Services.

Silverlight FireStarter – Keynote

Scott Guthrie – VP @ Microsoft

Sample Applications built on Silverlight 4.0

  • SAP
  • Xerox
  • Siemens
  • Dell

http://face.telerik.com – Facebook applicator by Telerik

Investments

  • HTML 5
  • Silverlight
  • WPF

Silverlight Future

  • Silverlight 5
    • Major new release with new enhancements:
      • Media
        • Hardware video decode
        • TrickPlay – variable speed for video and audio
        • Better Power Management
        • Remote Control Experience
        • At the Server Side of things:
      • Applications
        • Customer Story: DayForce has a SaaS solution for Workforce Management
        • Enhancements
          • Data binding
            • Debugging
              • Capability of placing Breakpoints inside the XAML
            • Markup Extensions for MVVM – Converging the SL and WPF DataBinding Capabilities
            • Implicit Data Templates
            • FindAncestor RelativeSource Binding
            • Binding Styles Setters – This is very important since Binding is now supported inside the Silverlight Value property of Setter
            • DataContextChanged Event
            • Layout Transitions
              • Simplification of the XAML needed to develop Animations
        • New Features
          • WCF & RIA Services
            • WS-Trust
            • Low latency Networking
            • MVVM friendly DataSource
            • End-to-End Support for Complex Types
            • Windows Azure support
          • Text & Printing
            • Text Clarity
            • Multicolumn Text Flow
            • Character tracking and Leading
            • Full OpenType Support
            • Vector PostScript Printing
          • PivotViewer will be part of the Silverlight 5.0 SDK
          • Graphics
            • Immediate Mode Graphics API
            • GPU accelarated 3D
            • Fluid Layout Transitions
            • Real 3D
          • Out-of-Browser Support
            • Multiple Windows Support
            • P/Invoke
            • Enterprise Group Policy Support
          • Test & Perf Tools
            • Automated UI Testing
            • Improved Profiling Support
              • Memory
              • CPU
              • Thread contention
          • Performance
            • Faster Setup
            • Hardware acceleration with IE9
            • Real 64bit
      • Sample App by the SQL Server Team
        • SQL Reporting Services like app Built in Silverlight 5.0
        • SQL Crescent
    • Features defined using the UserVoice
      • 70% of the votes are now in Silverlight 5

 

  • Timeline
    • First public Beta during Spring 2011
    • Final Release Later 2011