????3????????????????????δ???????

???????????????????й????????????????????????й????????????????????????????????????????????????????????????о???????

????4?????????Bug

????????????????б??????????????????Bug????????????Bug??????????????????????????????????????????Bug???????????????????и???????????????

???????????????????????????Bug????????????????????????裬???????Bug??ú????????????????????Bug?????????У?????Bug????????????????????????????????????Щ??????????????????????????????????????????????????Bug???????????????????????ū???????

????????????????????????????????????????????????????????????????????????ò???????????Bug????????Ρ????????????????????????????????????????????????????????????????????????????????Thread.sleep??????????????????????????????????????У?????Bug?????????

??????????????????????Bug??????????????????????????????????????????????????????????????????е?????????????????????99%?????????????????????к??????????????????????????????????????Bug??

????5?????????2???????λ????

?????????????????λ?????????????????????????????л????????С??????????????????Bug????????????

??????λ??????к???????????????????????????????????????????Thread.dumpStack?????????????????????ù??????????????????????????????й????????????????????????????????????????????????

????6??????????????????????

?????????λ???????????????????????Щ??????????????????Щ???????????????????????????????????????????п?????????????Щ??????????????????????????????????????????????????????????????????????Bug???????????????????????????????Bug???????????????????????μ??????????????????????????????????????????????????????????????????????????????????????????????????

??????????????????????????????????????Bug?????????????????Bug????????????????С?????????????????Bug??

????7????CodeReview??????CodeReview

???????????????Bug????????????????????????????????????????CodeReview??

????Review?????????????С???????????????????????????С??????????????????????????????????????????????????????????????????????????????????Bug???????????????????????????????????????????á???????????????????????????????Bug??????^_^????

????8????Patch????Bug

??????????Bug??????????????С??????????????????????????汾????????????????????С????????????Patch?????????????????Checkin???????????????????????е???磬?????????Build error??????????

???????????????е??????????汾???????????????????????????????汾??????????????????????????Build error???????????????????μ????????????????????????Bug??н?????

???????

???????The Practice of Programming?????????????????????????????Bug?????????Debugging involves backwards reasoning?? like solving murder mysteries. Something impossible occurred?? and the only solid information is that it really did occur.????Bug/?????????????????????????????????ò???????????鷢??????????????????????????????????????ζ??仰?????Bug??????????????????????????Bug---?????????????????????????????????????????????????????????????????????????????????????????????????е?????????????Щ???????????Bug??????????????о??????????????к?????С?

????????

?????????Bug???????????頂The Science of Debugging???????????????????????????????д????????????????Bug????????????Bug??????????л????????????????????????????Debugger????????????????????????????????????????????????????????????