I've found the solution

PicBasic insert CLRWDT-commands, before the TO-Bit is checked. But the CLRWDT-command sets the bit !
So I use some asm on the first lines of the programm to save the STATUS-register.

@ movf STATUS,w
@ movwf _dummy

;-)