I live in a country where the formal electrical code is more of a light suggestion than requirement, at least for old buildings. My lights began flickering when the shower was on so I went to the breaker box (outside my apartment, in the public hall of the building) and saw sparks.
The electrician showed me that the wire feeding one of the breakers melted / charred. He spliced in a new wire and changed the breaker. He told me that the breaker was old and this is why the cable insulation melted before the breaker interrupted current. I think that the breaker never.... broke?... while this was going on.
I have 3 10-amp breakers, Siemens brand. Why would the wire melt before the breaker broke? I think the excuse that the breaker is old is questionable - it seems like they should fail open by that point. And why'd the insulation melt near the breaker, and not some other random point from the building's mains input to my breaker box?