• Just to add: the setWatch could still be there - you can type dump() when connected in the IDE and see if a setWatch is reported.

    One option is that you may be getting an error before the watch completes. For example:

    var x = 0;
    setWatch(function() {
     x++;
    ...
    },...);
    

    works fine, but if you'd called delete x then x++ would create an error and stop execution.

About

Avatar for Gordon @Gordon started