A variable assignment to null causes debugging to cancel execution at that line. Here is a test script that reproduces the problem:
function myFunction() {
var a = "Hallo";
Logger.log("a=" + a);
var b = null;
Logger.log("b=" + b);
}
When debugging this script execution is cancelled on line "var b = null;". Log output is:
Mar 11, 2020, 8:52:49 PM Info a=Hallo
Mar 11, 2020, 8:52:54 PM Info Execution cancelled.
The result is the same when stepping over the line and running past the line in debug mode. However, in the latter case a red error message flashes for a moment at the top of the screen that says: "We're sorry, a server error occurred. Please wait a bit and try again."... waiting and retrying makes no difference. [Tried it again today after Jeff's comment below and was only able to recreate it by stepping over the assignment line in debug mode]
When running the script normally (not in debug) it completes successfully.