This function is as same as popVariables, but it pops the variable from db.VariableStack cf. db.where, popVariables, localVariables, debugMode