Kevin Hill Program Manager II Microsoft Corporation Agenda Owning the customer experience Handling application failure scenarios Using the customer feedback loop Debugging crashes Telling customers about fixes ID: 432160
Download Presentation The PPT/PDF document "Windows Error Reporting as a Platform Ad..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1Slide2
Windows Error Reporting as a Platform Advantage for Developers
Kevin Hill
Program Manager II
Microsoft CorporationSlide3
Agenda
Owning the customer experience
Handling application failure scenarios
Using the customer feedback loop
Debugging crashes
Telling customers about fixes
Call to action
ResourcesSlide4
Objectives
Use Application Recovery and Restart (ARR) APIs
Learn where to consume Windows
reliability dataSlide5
You Are Not Done When You Ship
Software Development Lifecycle
It is difficult to predict how customers will use softwareSlide6
The Ungraceful Failure
demo Slide7
Registering for an Application Restart Hook
[
DllImport
(
"kernel32.dll"
)]
public
static
extern
int
RegisterApplicationRestart
([
MarshalAs
(
UnmanagedType
.BStr
)]
string
commandLineArgs
,
int
flags);
private
void
RegisterApplicationForRestart
()
{
WERARRNativeMethods
.RegisterApplicationRestart
(
recoveryFileName
,
0
);
}Slide8
Restart the Application
demo Slide9
Registering for an Application Recovery Hook
private void
RegisterApplicationForRecovery
()
{
recoveryFileName
=
"QuickTweets.txt"
;
recoveryDelegate
=
new
WERARRNativeMethods.RecoveryDelegate
(
SaveData
);
int
recoveryNotificationResult
=
WERARRNativeMethods.RegisterApplicationRecoveryCallback
(
recoveryDelegate
,
"restart"
,
5000, 0);
}Slide10
Restart the Application, Recover the Data
demo Slide11
Customer-Centric Feedback Loop
Windows
Error Reporting (WER) customer feedback loop
cab
Crash occurs
Client collects and sends data
Microsoft shares data
Developers troubleshoot
You respond to your customersSlide12
WER Is Collecting
R
eports Even as I
S
peak
80% of Windows 7 computers are actively
sending error reports
Microsoft has continuously improved and
added functionally to the WER client ever
since Windows XP Slide13
Share
ISV
Home
page
Hotlist
Cab Download
Request Additional Data
Map Files
Create
Customer
Response
Windows 7 Reports
Winqual Website Overview
https://winqual.microsoft.com
Slide14
Request Additional Data
Download Cabs
How to Request Additional Data
ShareSlide15
Winqual Web Services
Open Source Project on
CodePlex
http://wer.codeplex.com
PowerShell example on our blog
http://blogs.msdn.com/wer/archive/2010/05/14/winqual-web-services-with-windows-powershell.aspx
ShareSlide16
Web Service PowerShell
demo Slide17
WER Resources
Website
http://winqual.microsoft.com
Web service
http://wer.codeplex.comSlide18
Debugging the Failure
demo Slide19
Responding to Customers
Best
practices
Customer focus
Clear information
Current
content
Scenarios
A specific fix exists
There is a product update
You need help from customers
You no longer support a productSlide20
Call to Action
Own the user experience
Sign up at:
winqual.microsoft.com
Map your software
Debug memory dumps
Tell customers about fixes
Fill out the evaluation form for this presentationSlide21
Resources
Windows Error Reporting public blog
http://blogs.msdn.com/wer
Open source projects at CodePlex
http://wer.codeplex.com
Windows API Code Pack for Microsoft .NET Framework
http://code.msdn.microsoft.com/WindowsAPICodePack
Get the latest debugging tools
http://www.microsoft.com/whdc/devtools/debugging/default.mspx
Winqual
website
https://winqual.microsoft.com
Microsoft Solution Framework Software Development Lifecycle
http://www.microsoft.com/downloads/details.aspx?familyid=a71ac896-1d28-45a4-880c-8b0cc8265c63&displaylang=en
Blog post on response quality
http://
blogs.msdn.com/wer/archive/2009/08/12/the-three-cs-of-response-satisfaction.aspxSlide22
©
2010 Microsoft
Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this
presentation. Because
Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this
presentation.
MICROSOFT
MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.