You cannot shoot someone for trespassing. You cannot shoot someone for stealing from you. You cannot shoot someone for destroying your property. You cannot even shoot someone for bursting into your house.
That being said, if in any of those circumstances you feel your life or the lives of your family members are in imminent danger, you are justified in using deadly force.
However, THAT being said, nine times out of ten you are still going to be either detained, questioned, arrested, cited, charged, or made to stand trial.
Good guidelines but not entirely accurate. If someone bursts into your house, there is a common law doctine, reinforced by statute in some states that there is no duty to retreat from your own place of residence. IF someone breaks into your house there is an assumption that they mean to do you harm. As such deadly force could be considered reasonable.
My wife has no way of knowing if someone who has just broken into our house is horribly lost, intends to steal our valuables, steal our kids, or rape her to death. That intruder's presence in our home is sufficient to cause her to be in fear of her life.
Unfortunately there are states that, by statute, do not recognize this common law doctrine. In which case she would have to grab our kids, and retreat to some more secure area of the house or attempt to escape.
One thing is certain if you are ever involved in a self defense shooting the following phrase (which should be committed to memory) will serve you well: "Sir, It is my intention to cooperate fully with your investigation. However, I decline to give a statement until I speak with my attorney"
This way you and your attorney may review the events in confidence, not to hide details but to clarify events in your mind prior to making statements which may (and probably will) contain contradictions and inaccuracies. The FIRST person you want interrogating you is someone who is on YOUR side.
Such representation is not cheap, should be arranged in advance, (keep a card in your wallet) and the cost may be mitigated by a self defense insurance policy.