When hotplugging a connector on my PCB, my microcontroller gets hot and a short circuit is formed between Vss and Vdd. One pin of the connector is the power supply ground, another is connected to an IO pin, but is driven at ground potential. When this IO pin makes contact before power supply ground, a high current flows trough internal clamping diode D1, destroying it. Is it possible that this shorts the other clamping diode D2, causing a short between Vdd and Vss?
I have already found a way to prevent this from happening, but I am interested to find out how the short circuit is formed.