it’s a proto board and the programmer is permanently connected (ICSP kind).
This would be my 1st suspect. If the device programmer isn't releasing /MCLR it would
cause it to hang. It may also be causing problems by leaving it connected to the PIC pgm
and data pins.

Have you tried disconnecting your programmer & resetting power to your proto board?