Is it a Federal Pacific Stab-Lok panel?
A loose lug on the breaker could have been a contributing factor.
Now the breaker needs to be replaced.
If it was a high amperage breaker, there could be enough heat to cause discoloration on the lugs but not trip due to lack of enough amperage sensed inside the breaker.
Many possibilities