Microsoft has patented their anti-debug protection used on their games and probably other software. The methods described in the patent are brief and not in much detail, however enough information is said to get a general idea of where to start attacking. To view the patent in PDF with images, you need an account at this website. The images were brief and unimportant - more of a visual representation of what was written. The text is what is meaty.
http://www.freepatentsonline.com/y2008/0184198.html