Effective WinDbg breakpoints using hit counts

I learned this debugging trick from a colleague a few days ago when we are debugging a bug together and I can’t wait to share it. Conceptually it is really a simple idea but it is very helpful. Let’s say you are debugging a crash. You know the bug is probably in function A but…

0

If your Windows Phone 7 doesn’t sync with Zune Software, try a different USB port

I recently got Samsung Focus but it doesn’t get recognized by the Zune Software – it says “No device connected”, even though my phone did ring a sound when it connects to my computer and zune software did pop up. Spend half hour searching for solutions and I run into this article: http://www.microsoft.com/windowsphone/en-us/howto/wp7/basics/the-zune-software-doesnt-recognize-my-phone.aspx One of…

1

Interpreting HRESULTS returned from .NET/CLR: 0x8013XXXX

What is 0x8013XXXX Occasionally you might run into mysterious HRESULTs returned from .NET that begins with 0x8013, for example, 0x80131522. Unfortunately the error lookup shipped with Visual Studio doesn’t really work on those strange HRESULTs. What are they? It turns out they are in fact, defined by .NET/CLR in the header files. All these failure/success…

0