If you are adding lines that you expect to be snapping to the grid, you might check the following:

Is Snap to Grid turned on?

Is Gravity Snap turned on so the points are snapping to objects that are closer than a grid point?

The LED on the Grid Snap button will light when it is actively snapping.