I only know of one incident personally, where my friends had a home invasion at their house. Some asshats kicked their door in and it took TWO times for them to tazer their dog before she actually bit the guy.
I'd like to think my dogs would protect me if shit hit the fan, but I have my doubts.