In Processor Expert, I am unable to find a setting that will disable the debug mask register to enable the watchdog to work correctly in debug mode ("correctly" being "don't keep track of the passage of time during debug breaks").
Looking at the initialization code:
/* WDOG_CS1: EN=1,INT=0,UPDATE=1,TST=0,DBG=1,WAIT=1,STOP=1 */
WDOG_CS1 = WDOG_CS1_EN_MASK |
WDOG_CS1_DBG_MASK | //<<<<THIS ONE HERE
WDOG_CS1_STOP_MASK; /* Setup control register */
I've gotten it to work by removing that line and disabling PE from updating the code, but that is not a very elegant solution. Is there a way I can tell PE to use the debug mask settings I want?