disentangling debugger from optimisation change