3.3 Halt During Debug

The hardware debuggers interfere with the serial communication peripherals. On PIC microcontrollers, the peripherals stop while the CPU halts. If this occurs during serial communication, unusual behavior will result. Many AVR microcontrollers have a DEBUG bit in the peripheral registers to allow the hardware to continue functioning normally while the CPU is halted.