Add a breakpoint to check when the NaN problem occurs.