The Beretta Tomcat is a terror with regard to broken firing pins. I broke two using snap caps while trying to get the trigger smoothed out. (Some gunsmiths won't work on the gun because its so darned tiny.) Somewhere around 1000+ trigger pulls the trigger got nice. I later sold it due to other concerns -- but that was one of the FIRST Tomcats, and they've apparently improved them.
Some guns -- the owner's manual will generally tell which -- have problems with dry firing. The original CZ-75B has a firing pin retention roll pin that will break with dry-firing. (That said, I'll bet I dry-fired mine thousands of times without a problem, but broke the roll pin in a functionally similar CZ-40B in a few hundred tries.) The newer 75B and other B guns now have a "doubled" (pin within a pin) roll pin and it shouldn't be a problem. Happily, you can find a replacement roll pin for the older "B" guns at any hardware store. Or use snap caps.
Check your owner's manual.