Hi Peter,

It's not a bug in PBP.

RESUME inserts RETFIE (return from interrupt) after your interrupt handler is finished.

If you insert code after the RETFIE (RESUME), there's no way for it to ever execute since program flow is returned to where it was before the interrupt.