protect AddWatch call, only in devmode