Why does it seem like Americans are obsessed over home invasions? Do you have a lot of them?
Constantly see people online talk about "when the robber comes thru my door" or whatever, and some of it is memes, but a lot of it is just people legit discussing what the "best weapon" to fight robbers breaking into your house at night would be - Giving it so much thought as if it is a legitimate concern. So is it? Does it happen a lot?
Imma be real with you, that ain't gonna happen; toddler is small so +1 AC, night time and it's dark so total concealment 50% miss chance, and let's be real here you're a human with average stat distribution so no pluses on dexterity based attack roll, guns have a range of 20ft before taking minuses on the attack roll every ten feet so minimum -1, and without gun training you're not proficient so it's further -4 penalty to attack roll, and it's a surprise round anyway and going for your gun is a move action; imma be real I just don't see it happening.