
EMB318 Improve Product Quality Using Windows CE Error Reporting (Watson) James Stulz Program Manager Windows CE Core Tools Microsoft Corporation MEDC
EMB318 Improve Product Quality Using Windows CE Error Reporting (Watson) James Stulz Program Manager Windows CE Core Tools Microsoft Corporation

Microsoft MEDC Mobile Embedded DevCon 2005 May9-12,2005 Las Vegas Microsoft

Agenda Introduction to Window Error Reporting (WER) WER Infrastructure ⊙ Enable WER in your platform Looking at WER data on your own How to access WER data from Microsoft Analyze and fix crashing problems
Agenda Introduction to Window Error Reporting (WER) WER Infrastructure Enable WER in your platform Looking at WER data on your own How to access WER data from Microsoft Analyze and fix crashing problems

Introduction What is it? Windows CE/Mobile Error Reporting a.k.a Watson,Dr. Watson,WER,Error Reporting New for Windows CE/Mobile 5.0 The Error Reporting Client uploads crash data to Microsoft Captures both System and Application level crashes Microsoft actively utilizes Error Reporting data to identify and prioritize crashing problems Share the Error Reports with OEMs and ISVs Fix problems to improve quality
Introduction What is it? Windows CE/Mobile Error Reporting a.k.a Watson, Dr. Watson, WER, Error Reporting New for Windows CE/Mobile 5.0 The Error Reporting Client uploads crash data to Microsoft Captures both System and Application level crashes Microsoft actively utilizes Error Reporting data to identify and prioritize crashing problems Share the Error Reports with OEMs and ISVs Fix problems to improve quality

Introduction What are the benefits? Provides actionable data for customer reported issues with your product Educates you about the frequency/scale of those issues Provides you with crash data and ability to analyze the problem Bug prioritization based on report volume Customer satisfaction and a successful product
Introduction What are the benefits? Provides actionable data for customer reported issues with your product Educates you about the frequency/scale of those issues Provides you with crash data and ability to analyze the problem Bug prioritization based on report volume Customer satisfaction and a successful product

Introduction Bug prioritization Scale'is critical From desktop Windows we learned there is a large number of crashing points of failure Fortunately there are clear trends seen in Windows Error Reporting: Worst 1%of the defects 50%of the failures! Worst 20%of the defects=80%of the failures Consistent across almost all applications and com ponents Consistent on a per vendor basis Focus on the peak issues can have a big impact! Unique Problems(Buckets)
Introduction Bug prioritization ‘Scale’ is critical From desktop Windows we learned there is a large number of crashing points of failure Fortunately there are clear trends seen in Windows Error Reporting: Worst 1% of the defects = 50% of the failures! Worst 20% of the defects = 80% of the failures Consistent across almost all applications and components Consistent on a per vendor basis Focus on the peak issues can have a big impact! Unique Problems (Buckets)

Introduction Privacy The user gives permission for the upload User can review the contents of the upload All data is saved to a Microsoft- managed and secured database Meets Federal Trade Commission's Safe Harbor Agreement and EU laws Intent is fixing bugs,not to track users
Introduction Privacy The user gives permission for the upload User can review the contents of the upload All data is saved to a Microsoftmanaged and secured database Meets Federal Trade Commission's Safe Harbor Agreement and EU laws Intent is fixing bugs, not to track users

Introduction Process overview ortal Sites
Introduction Process overview

Infrastructure Design overview
Infrastructure Design overview Unhandled 2nd chance exception Kernel Exception D Handler ebug Stub Persistent Memory Write Dump File Scheduler Signal Transfer.dll to run Error File System Consent UI Upload Protocol MS Watson Server Continue Requires reset Kernel Exception App Exception Feedback (optional) Send Dw.exe process Core Logic Error Report Details - text viewer Device.exe Transfer.dll Read Dump File Write Move capture from persistent memory to file system Launches Run DW Control Panel Registry Set Options Read Options Read Options Write Options

Infrastructure Components Kernel components Hd.dll Osaxst0.dll ⊙ Driver components Dwxfer.dll Dwui.dll Client app Dw.exe Approximate size 110KB(ARM)
Infrastructure Components Kernel components Hd.dll Osaxst0.dll Driver components Dwxfer.dll Dwui.dll Client app Dw.exe Approximate size = 110KB (ARM)