Hi,

If you like your PIC to go to a dead sleep then the WDT needs to be turned off. Use your config settings to turn it off and also use:

Code:
DEFINE NO CLRWDT 1
This prevent PBP from inserting code to clear the WDT periodically in other words saves code space.