Debugging lost variable values