Debugging in the (Very) Large: Ten Years of Implementation and Experience
Kirk Glerum, Kinshuman Kinshumann, Steve Greenberg, Gabriel Aul, Vince Orgovan, Greg Nichols, David Grant, Gretchen Loihle, and Galen Hunt Microsoft Corporation
1
Ten Years of Implementation and Experience Kirk Glerum , Kinshuman - - PowerPoint PPT Presentation
Debugging in the (Very) Large: Ten Years of Implementation and Experience Kirk Glerum , Kinshuman Kinshumann , Steve Greenberg , Gabriel Aul , Vince Orgovan , Greg Nichols , David Grant , Gretchen Loihle , and Galen Hunt Microsoft Corporation
1
2
3
4
5
6
7
8
9
Technicians reports “top ten” issues to programmers
10
Support technician tries to diagnose error User calls technical support
11
12
13
14
15
16
{program name},{binary},{version},{pc offset}
– consolidate version and replace offset with symbol
– find caller of memcpy (because it isn’t buggy)
– etc.
17
– up to 40% of error reports
memcpy(&MYVAR, j, 4);
– extra server load – duplicate buckets must be hand triaged
– up to 4% of error reports – harder to isolate each bug
18
19
20
0% 25% 50% 75% 100%
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
3-week internal deployment to 9,000 users.
Bucket #:
21
22
0% 20% 40% 60% 80% 100%
3 6 9 12 15 18 Reports as % of Peak
Day #:
23
24
200,000 400,000 600,000 800,000 1,000,000 1,200,000 10-Feb-07 24-Feb-07 10-Mar-07
25
26